Diff of /setup.py [000000] .. [62e09a]

Switch to unified view

a b/setup.py
1
import setuptools
2
from distutils.command.build import build
3
import subprocess
4
import os
5
6
ROOT = os.path.dirname(os.path.abspath(__file__))
7
8
with open("README.md", "r") as fh:
9
    long_description = fh.read()
10
11
class Build(build):
12
    """Customized setuptools build command"""
13
    def run(self):
14
        cmd = ["make"]
15
        subprocess.call(cmd, cwd=os.path.join(ROOT, "gsec", "utils"))
16
        # run original
17
        build.run(self)
18
19
20
21
setuptools.setup(
22
    name="gsec",
23
    version="0.0.1",
24
    # For calling the script
25
    entry_points={
26
        "console_scripts": [
27
            'gsec = gsec.gsec:main',
28
            'gsec_train = gsec.gsec_train:main',
29
        ]
30
    },
31
    author="Isaac Gelman, Nicolas Perez, Natalie Abreu, Shannon Brownlee, \
32
    Tomas Angelini, Laura Cao, Shreya Havaldar",
33
    description="Automated, generalizable model building tool \
34
    for the Sequence Read Archive",
35
    long_description=long_description,
36
    url="https://github.com/gelman-usc/gsec",
37
    packages=setuptools.find_packages(),
38
    classifiers=[
39
        "Programming Language :: Python :: 3"
40
    ],
41
    python_requires=">=3.6",
42
    install_requires=[
43
        "pandas",
44
        "sklearn",
45
        "numpy",
46
    ],
47
    cmdclass= {
48
        'build': Build,
49
    },
50
)