-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
50 lines (39 loc) · 1.57 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def get_version():
with open(path.join(here, "annot_utils/version.py"), encoding = 'utf-8') as hin:
for line in hin:
if line.startswith("__version__"):
version = line.partition('=')[2]
return version.strip().strip('\'"')
raise ValueError('Could not find version.')
setup(
name = 'annot_utils',
version = get_version(),
description='Python programs for processing gene annotation files',
long_description=long_description,
long_description_content_type='text/markdown',
url = 'https://github.com/friend1ws/annot_utils',
author = 'Yuichi Shiraishi',
author_email = '[email protected]',
license = 'GPLv3',
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: Unix',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
packages = find_packages(exclude = ['resource']),
package_data={'annot_utils': ['data/*/*']},
install_requires = [],
entry_points = {'console_scripts': ['annot_utils = annot_utils:main']}
)