forked from konstantint/pyliftover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (47 loc) · 1.84 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
'''
Pure-python implementation of UCSC ``liftOver`` genome coordinate conversion.
Setup script.
Note that "python setup.py test" invokes pytest on the package. This checks both xxx_test modules and docstrings.
Copyright 2013, Konstantin Tretyakov.
http://kt.era.ee/
Licensed under MIT license.
'''
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import sys
import pytest # import here, cause outside the eggs aren't loaded
sys.exit(pytest.main(self.test_args))
version = '0.3'
setup(name='pyliftover',
version=version,
description="Pure-python implementation of UCSC ``liftOver`` genome coordinate conversion.",
long_description=open("README.rst").read(),
classifiers=[ # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
platforms=['Platform Independent'],
keywords='bioinformatics liftover genome-analysis',
author='Konstantin Tretyakov',
author_email='[email protected]',
url='https://github.com/konstantint/pyliftover',
license='MIT',
packages=find_packages(exclude=['tests', 'examples']),
include_package_data=True,
zip_safe=True,
install_requires=[],
tests_require=['pytest'],
cmdclass={'test': PyTest},
entry_points=''
)