-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
41 lines (38 loc) · 1.18 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
from distutils.core import setup
from distutils.errors import DistutilsSetupError
AUTHOR_INFO = [
('Paolo Anedda', '[email protected]'),
('Luca Lianas', '[email protected]'),
('Giovanni Delussu', '[email protected]')
]
MAINTAINER_INFO = AUTHOR_INFO
AUTHOR = '', ''.join(t[0] for t in AUTHOR_INFO)
AUTHOR_EMAIL = ", ".join("<%s>" % t[1] for t in AUTHOR_INFO)
MAINTAINER = ", ".join(t[0] for t in MAINTAINER_INFO)
MAINTAINER_EMAIL = ", ".join("<%s>" % t[1] for t in MAINTAINER_INFO)
try:
with open("NAME") as f:
NAME = f.read().strip()
with open("VERSION") as f:
VERSION = f.read().strip()
except IOError:
raise DistutilsSetupError("failed to read name/version info")
setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
packages=[
'pyehr',
'pyehr.utils',
'pyehr.aql',
'pyehr.ehr',
'pyehr.ehr.services',
'pyehr.ehr.services.dbmanager',
'pyehr.ehr.services.dbmanager.drivers',
'pyehr.ehr.services.dbmanager.querymanager',
'pyehr.ehr.services.dbmanager.dbservices',
],
)