This repository has been archived by the owner on Jan 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
45 lines (43 loc) · 1.51 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
import re
from setuptools import setup, find_packages
requires = []
dep_links = []
# parse requirements file
with open('requirements.txt') as f:
comment = re.compile('(^#.*$|\s+#.*$)')
for line in f.readlines():
line = line.strip()
line = comment.sub('', line)
if line:
if line.startswith('git+') and '#egg=' in line:
dep_links.append(line)
requires.append(line.split('#egg=', 1)[1].replace('-', '=='))
else:
requires.append(line)
setup(name='minerva.geo',
version='0.0.0.dev1',
description='Minerva: client/server/services for analysis and visualization',
url='https://github.com/kitware/minerva',
install_requires=requires,
dependency_links=dep_links,
author='Kitware Inc',
author_email='[email protected]',
license='Apache v2',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: Apache Software License'
'Topic :: Scientific/Engineering :: GIS',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Programming Language :: Python'
],
packages=find_packages(exclude=['tests*', 'server*', 'docs']),
entry_points={
'gaia.plugins': [
"gaia_tasks.inputs = gaia_tasks.inputs",
],
'girder_worker_plugins': [
'gaia_tasks = gaia_tasks:GaiaTasks',
]
},
zip_safe=False)