-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
51 lines (39 loc) · 1.47 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import codecs
import os
import re
import sys
from setuptools import find_packages
from distutils.core import setup
import GTStoWIS2
here = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
# intentionally *not* adding an encoding option to open, See:
# https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
return codecs.open(os.path.join(here, *parts), 'r', encoding="UTF-8").read()
packages=find_packages()
print("packages = %s" % packages)
setup(
name='GTStoWIS2',
version=GTStoWIS2.__version__,
description='Conversions for GTS AHL to WIS2 tree',
long_description=(read('README.rst')),
url='https://github.com/wmo-im/GTStoWIS2',
license='GPLv3',
author='WMO information management / metadata team',
author_email='[email protected]', # for now... change later...
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Communications :: File Sharing',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages = [ 'GTStoWIS2' ],
package_data={
"GTStoWIS2": ["*.json"], # includes all Table json files in dist
}
)