-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (40 loc) · 1.38 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from distutils.util import convert_path
import re
# get the version from __init__.py
with open(convert_path("pytxi/__init__.py")) as ver_file:
match = next(
re.finditer('__version__ = "(.*)"', ver_file.read(), re.MULTILINE)
)
version = match.group(1)
# use the readme as long description
with open("README.md") as f:
long_description = f.read()
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
setup(
name="pytxi",
version=version,
description="We want tximport in Python too!",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
data_files=[("", ["LICENSE", "README.md"])],
entry_points={"console_scripts": ["pytxi=pytxi.cli:main"]},
install_requires=["genomepy>=0.10"],
author="Simon van Heeringen",
author_email="simon.vanheeringen@gmail.com",
url="https://github.com/vanheeringen-lab/pytxi",
license="MIT",
classifiers=classifiers,
)