forked from zqfang/GSEApy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (60 loc) · 2.2 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
72
# -*- coding: utf-8 -*-
import sys, os
from setuptools import setup
from setuptools.command.test import test as TestCommand
__version__='0.9.4'
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)
def readme():
with open('README.rst') as f:
return f.read()
setup(name='gseapy',
version=__version__,
description='Gene Set Enrichment Analysis in Python',
long_description=readme(),
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/zqfang/gseapy',
author='Zhuoqing Fang',
author_email='fzq518@gmail.com',
license='MIT',
packages=['gseapy'],
install_requires=[
'numpy>=1.13.0',
'pandas>=0.16',
'matplotlib>=1.4.3',
'beautifulsoup4>=4.4.1',
'requests',
'html5lib',
'lxml'],
entry_points={'console_scripts': ['gseapy = gseapy.__main__:main'],},
tests_require=['pytest'],
cmdclass = {'test': PyTest},
zip_safe=False,
download_url='https://github.com/zqfang/gseapy',)
__author__ = 'Zhuoqing Fang'