This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
71 lines (60 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
"""A setuptools based setup module for rflow
"""
import sys
from os import path
from codecs import open
from setuptools import setup, find_packages
def _forbid_publish():
argv = sys.argv
blacklist = ['register', 'upload']
for command in blacklist:
if command in argv:
values = {'command': command}
print('Command "%(command)s" has been blacklisted, exiting...' %
values)
sys.exit(2)
_forbid_publish()
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(HERE, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
REQUIREMENTS = [
'argcomplete',
'graphviz',
'lmdb',
'requests',
'tabulate',
'termcolor',
'tqdm'
]
setup(
name='rflow',
version='0.0.1',
description='Framework for creating end-to-end experiments on Machine Learning and Information Retrieval',
long_description=LONG_DESCRIPTION,
url='https://gitlab.com/shrkit/rflow/',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5'
],
keywords='end-to-end workflow reentrant make machine-learning ',
packages=find_packages(),
install_requires=REQUIREMENTS,
extras_require={
'dev': ['Sphinx',
'sphinx_rtd_theme',
'sphinxcontrib-napoleon',
'docutils',
'pylint',
'autopep8'],
'test': ['coverage'],
},
entry_points={
'console_scripts': [
'rflow=rflow.__main__:main'
]
}
)