-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (24 loc) · 1017 Bytes
/
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
"""
Setup script for bam-qc-metrics
"""
import os
from setuptools import setup
package_identifier = "bam_qc_metrics"
version_dir = os.path.join('etc', 'versions', package_identifier)
version_filename = 'VERSION'
with open(os.path.join(os.path.dirname(__file__), version_dir, version_filename)) as version_file:
package_version = version_file.read().strip()
setup(
name='bam-qc-metrics',
version=package_version,
scripts=['bin/run_bam_qc.py', 'bin/write_fast_metrics.py'],
packages=[package_identifier],
install_requires=['attrs', 'jsonschema', 'pybedtools', 'pyrsistent', 'pysam', 'six'],
data_files=[(version_dir, [os.path.join(version_dir, version_filename)])],
python_requires='>=3.5',
author="Iain Bancarz",
author_email="[email protected]",
description="BAM QC metrics",
long_description="Python implementation of BAM QC metrics in use at the Ontario Institute for Cancer Research, https://oicr.on.ca",
url="https://github.com/oicr-gsi/bam-qc-metrics",
)