-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
63 lines (57 loc) · 2.04 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
51
52
53
54
55
56
57
58
59
60
61
62
63
import os.path
from setuptools import find_packages, setup
# Package data
# ------------
_author = 'rileywilliams'
_authorEmail = '[email protected]'
_classifiers = [
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
_description = 'Create CovJSON files from common scientific data formats'
_downloadURL = 'http://pypi.python.org/pypi/pycovjson/'
_requirements = ["xarray","numpy", "pandas", "pymongo"]
_keywords = ['dataset', 'coverage', 'covjson']
_license = 'Copyright :: University of Reading'
_long_description = 'A python utility library for creating CovJSON files from common scientific data formats'
_name = 'pycovjson'
_namespaces = []
_testSuite = 'pycovjson.test'
_url = 'https://github.com/Reading-eScience-Centre/pycovjson'
_version = '0.3.9'
_zipSafe = True
_entry_points = {'console_scripts' : ['pycovjson-convert = pycovjson.cli.convert:main', 'pycovjson-viewer = pycovjson.cli.viewer:main']}
# Setup Metadata
# --------------
def _read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
_header = '*' * len(_name) + '\n' + _name + '\n' + '*' * len(_name)
setup(
author=_author,
author_email=_authorEmail,
classifiers=_classifiers,
description=_description,
download_url=_downloadURL,
include_package_data=True,
install_requires=_requirements,
keywords=_keywords,
license=_license,
long_description=_long_description,
name=_name,
namespace_packages=_namespaces,
packages=find_packages(),
test_suite=_testSuite,
url=_url,
version=_version,
zip_safe=_zipSafe,
entry_points=_entry_points,
)