-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (58 loc) · 2.36 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
# -*- coding: utf-8 -*-
import sys, os
from setuptools import setup
from setuptools.command.test import test as TestCommand
__version__='0.1.3'
if sys.argv[-1] == 'publish':
os.system("python setup.py sdist bdist_wheel register upload")
print("You probably want to also tag the version now:")
print(" git tag -a %s -m 'version %s'" % (__version__,__version__))
print(" git push --tags")
sys.exit()
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
with open('README.md') as f:
long_description = f.read()
setup(name='gsea_incontext_notk',
version=__version__,
description='GSEA-InContext Gene Set Enrichment Analysis in Python',
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 2.7',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Software Development :: Libraries'],
keywords= ['Gene Ontology', 'GO','Biology', 'Enrichment',
'Bioinformatics', 'Computational Biology',],
url='https://github.com/CostelloLab/GSEA-InContext_noTk',
author='Rani Powers (fork originally from gsea_incontext_notk by Zhuoqing Fang)',
author_email='rani.powers@cuanschutz.edu',
license='MIT',
packages=['gsea_incontext_notk'],
install_requires=[
'numpy>=1.13.0',
'pandas>=0.16',
'beautifulsoup4>=4.4.1',
'requests',
'scipy',],
entry_points={'console_scripts': ['gsea_incontext_notk = gsea_incontext_notk.__main__:main'],},
tests_require=['pytest'],
cmdclass = {'test': PyTest},
zip_safe=False,
download_url='https://github.com/CostelloLab/GSEA-InContext_noTk',)
__author__ = 'Rani Powers'