-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
50 lines (44 loc) · 1.71 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
#!/usr/bin/env python
import numpy as np
from setuptools import setup, Extension, find_packages
import sys
include_worker = ("--include-worker" in sys.argv[1:])
def get_version():
globs = {}
exec(open("striped/version.py", "r").read(), globs)
version = globs["Version"]
return version
packages = ['striped', 'striped.job', 'striped.common', 'striped.client', 'striped.ingestion', 'striped.pythreader', 'striped.hist',
'striped.ml']
ext_modeules = []
include_dirs = []
if include_worker:
ext_modeules = [Extension('striped_c_tools',['stripe_tools/stripe_tools.c'])]
include_dirs = [np.get_include()]
setup(name = "striped",
version = get_version(),
packages = packages,
scripts = ["ingest/ingestion/striped_ingest"],
description = "",
long_description = """""",
author = "Igor Mandrichenko (Fermilab)",
author_email = "[email protected]",
maintainer = "Igor Mandrichenko (Fermilab)",
maintainer_email = "[email protected]",
#license = "Apache Software License v2", # ???
test_suite = "tests",
install_requires = [],
tests_require = [],
classifiers = ["Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
],
platforms = "Any",
ext_modules = ext_modeules,
include_dirs = include_dirs,
zip_safe = False
)