forked from seznam/flexp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (44 loc) · 1.34 KB
/
Copy pathsetup.py
File metadata and controls
53 lines (44 loc) · 1.34 KB
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
#!/usr/bin/env python
import io
import os.path
import sys
from setuptools import setup, find_packages
def _open(fname):
"""Read a file relatively to this setup.py."""
return io.open(os.path.join(os.path.dirname(__file__), fname), "rt",
encoding="utf-8")
requirements = [line.rstrip('\n') for line in _open('requirements.txt')]
PY2 = sys.version_info[0] == 2
if PY2:
packages = find_packages()
# separate entry_points as well?
else:
packages = [
"flexp",
"flexp.flexp",
"flexp.flow",
"flexp.browser",
"flexp.browser.html",
]
setup(
name="flexp",
version="1.0",
url="https://github.com/seznam/flexp/",
author="Seznam.cz research team",
author_email="research@firma.seznam.cz",
description="Toolkit for reproducibility of scientific experiments"
" bundled together with flow-oriented programming paradigm.",
long_description=_open('README.md').read(),
packages=packages,
package_data={
'flow.flexp': ["static/images/*", "static/*.png", "static/*.css", "static/*.js", "static/*.ico"],
},
install_requires=requirements,
entry_points={
'console_scripts': [
'flexp-browser = flexp.browser:main',
]
},
test_suite='nose.collector',
tests_require=['nose', 'testfixtures'],
)