-
Notifications
You must be signed in to change notification settings - Fork 68
/
setup.py
40 lines (33 loc) · 1.22 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
import re
from setuptools import find_packages, setup
with open("README.md", "r") as fh:
long_description = fh.read()
with open("samplot/__init__.py", "r") as fd:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE
).group(1)
with open("requirements.txt", "r") as f:
requires = f.read().splitlines()
setup(
name="samplot",
version=version,
description="plotting package for genomic structural variation",
long_description=long_description,
long_description_content_type='text/markdown',
author="Jonathan Belyeu",
author_email="jrbelyeu@gmail.com",
url="https://github.com/ryanlayer/samplot.git",
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]),
package_data={"": ["LICENSE", "README.md"]},
data_files=[("samplot", ["samplot/templates/samplot_vcf.html"])],
include_package_data=True,
install_requires=requires,
license="MIT",
zip_safe=False,
entry_points={"console_scripts": ["samplot = samplot.__main__:main"]},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
)