-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
41 lines (38 loc) · 1.64 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
import os
from setuptools import setup
version_py = os.path.join(os.path.dirname(__file__), 'picopore', 'version.py')
version = open(version_py).read().strip().split('=')[-1].replace('"','').strip()
print(version)
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname), 'r') as handle:
data = handle.read()
return data
setup(
name = 'picopore',
packages = ['picopore'],
package_dir={'picopore': "picopore"},
version=version,
install_requires=['h5py>2.2.0', 'watchdog'],
description = 'A tool for reducing the size of Oxford Nanopore Technologies\' datasets without losing information.',
long_description=read('README.rst'),
author = 'Scott Gigante',
author_email = '[email protected]',
url = 'https://github.com/scottgigante/picopore', # use the URL to the github repo
keywords = ['nanopore', 'compression', 'hdf5', 'fast5', 'oxford', 'minion'], # arbitrary keywords
classifiers = [
"Development Status :: 4 - Beta",
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
entry_points = {
'console_scripts': ['picopore = picopore.__main__:main',
'picopore-rename = picopore.rename:main',
'picopore-test = picopore.test:main',
'picopore-realtime = picopore.realtime:main'],
},
)