-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
61 lines (54 loc) · 2.03 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
49
50
51
52
53
54
55
56
57
58
59
60
61
from setuptools import setup, find_packages
###################################################################
NAME = 'msstitch'
PACKAGES = find_packages(where='src')
KEYWORDS = ['mass spectrometry', 'proteomics', 'processing']
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering :: Bio-Informatics',
]
INSTALL_REQUIRES = ['numpy', 'lxml', 'biopython']
METADATA = {
'version': '3.16',
'title': 'msstitch',
'description': 'MS proteomics post processing utilities',
'uri': 'https://github.com/lehtiolab/msstitch',
'author': 'Jorrit Boekel',
'email': '[email protected]',
'license': 'MIT',
'copyright': 'Copyright (c) 2013 Jorrit Boekel',
}
CLI = {'console_scripts': ['msstitch=app.msstitch:main']}
###################################################################
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), encoding='utf-8') as fp:
long_description = fp.read()
if __name__ == '__main__':
setup(
name=NAME,
description=METADATA['description'],
license=METADATA['license'],
url=METADATA['uri'],
version=METADATA['version'],
author=METADATA['author'],
author_email=METADATA['email'],
maintainer=METADATA['author'],
maintainer_email=METADATA['email'],
keywords=KEYWORDS,
packages=PACKAGES,
package_dir={'': 'src'},
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
entry_points=CLI,
)