-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
56 lines (46 loc) · 1.83 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
from setuptools import setup, find_packages, Extension
def main():
try:
long_description = open('README.rst').read()
except IOError as err:
long_description = str(err)
try:
version_str = open('version.txt').read().rstrip()
except IOError as err:
version_str = '???'
setup(
name='modelr',
version=version_str,
author='Agile Geoscience.',
author_email='[email protected]',
url='https://github.com/agile-geoscience/modelr',
packages=find_packages(),
package_data={'modelr.web': ['static/*', 'templates/*']},
classifiers=[c.strip() for c in """\
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Operating System :: OS Independent
Operating System :: POSIX
Operating System :: Unix
Programming Language :: Python :: 2
Topic :: Scientific/Engineering
Topic :: Software Development
Topic :: Software Development :: Libraries
""".splitlines() if len(c.strip()) > 0],
description='Web Service like google charts API',
long_description=long_description,
license='BSD',
install_requires=['agilegeo==0.1.4','jinja2', 'pypng', 'requests',
'svgwrite', 'cairosvg'],
entry_points={
'console_scripts': [
'modelr-server = modelr.web.server:main',
],
}
)
if __name__ == '__main__':
main()