File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Python files
2+ * .pyc
3+ * .egg-info
4+
5+ # PyCharm settings
6+ .idea
Original file line number Diff line number Diff line change 1+ language : python
2+ python :
3+ - " 2.7"
4+ - " 3.5"
5+
6+ script :
7+ - python setup.py test
Original file line number Diff line number Diff line change 1+ """Contains the current version tag, stored in the module level variable '__version__'.
2+ Updated automatically by the build server
3+ """
4+
5+ __version__ = '0.0.1'
Original file line number Diff line number Diff line change 1- numpy
2- netCDF4
3- jsonschema
1+ --index-url https://pypi.python.org/simple/
2+ -e .
Original file line number Diff line number Diff line change 1+ from setuptools import setup , find_packages
2+
3+ version = {}
4+ with open ("ncwriter/version.py" ) as fp :
5+ exec (fp .read (), version )
6+
7+ INSTALL_REQUIRES = [
8+ 'jsonschema==2.6.0' ,
9+ 'numpy>=1.13.0' ,
10+ 'netCDF4'
11+ ]
12+
13+ # TODO: add this when we have JSON schema files and templates bundled
14+ # PACKAGE_DATA = {
15+ # 'ncwriter': [
16+ # ]
17+ # }
18+
19+ PACKAGE_EXCLUDES = ['test_ncwrwiter.*' , 'test_ncwriter' ]
20+ PACKAGE_NAME = 'ncwriter'
21+
22+ setup (
23+ name = PACKAGE_NAME ,
24+ version = version ['__version__' ],
25+ packages = find_packages (exclude = PACKAGE_EXCLUDES ),
26+ # package_data=PACKAGE_DATA,
27+ url = 'https://github.com/aodn' ,
28+ license = 'GPLv3' ,
29+ author = 'AODN' ,
30+ author_email = 'projectofficers@emii.org.au' ,
31+ description = 'AODN netCDF tools library' ,
32+ zip_safe = False ,
33+ install_requires = INSTALL_REQUIRES ,
34+ test_suite = 'test_ncwriter'
35+ )
You can’t perform that action at this time.
0 commit comments