forked from thasso/pyjip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (43 loc) · 1.13 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
try:
from setuptools import setup, Extension
except:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
name = 'pyjip'
version = '0.5'
description = 'JIP pipeline library'
author_email = "thasso.griebel@gmail.com"
url = ""
packages = ['jip', 'jip.cli', 'jip.vendor', 'jip.scripts', 'jip.dispatcher']
try:
with open('Readme.rst') as rf:
readme = rf.read()
except:
readme = ''
dispatcher_ext = Extension('jip.dispatcher',
['jip/dispatcher/jip_binding.c',
'jip/dispatcher/jip_dispatcher.c'])
setup(
name=name,
version=version,
description=description,
author_email=author_email,
url=url,
license="BSD",
long_description=readme,
packages=packages,
package_data={
'jip.scripts': ['*.jip']
},
install_requires=["sqlalchemy>=0.8.2",
"jinja2>=2.7",
"argparse"
],
ext_modules=[dispatcher_ext],
entry_points={
"console_scripts": [
'jip = jip.cli.jip_main:main'
]
}
)