[62e09a]: / setup.py

Download this file

51 lines (44 with data), 1.1 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
import setuptools
from distutils.command.build import build
import subprocess
import os
ROOT = os.path.dirname(os.path.abspath(__file__))
with open("README.md", "r") as fh:
long_description = fh.read()
class Build(build):
"""Customized setuptools build command"""
def run(self):
cmd = ["make"]
subprocess.call(cmd, cwd=os.path.join(ROOT, "gsec", "utils"))
# run original
build.run(self)
setuptools.setup(
name="gsec",
version="0.0.1",
# For calling the script
entry_points={
"console_scripts": [
'gsec = gsec.gsec:main',
'gsec_train = gsec.gsec_train:main',
]
},
author="Isaac Gelman, Nicolas Perez, Natalie Abreu, Shannon Brownlee, \
Tomas Angelini, Laura Cao, Shreya Havaldar",
description="Automated, generalizable model building tool \
for the Sequence Read Archive",
long_description=long_description,
url="https://github.com/gelman-usc/gsec",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3"
],
python_requires=">=3.6",
install_requires=[
"pandas",
"sklearn",
"numpy",
],
cmdclass= {
'build': Build,
},
)