forked from Waztom/mscheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (42 loc) · 1.23 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
#!/usr/bin/env python
import io
import os
import re
from setuptools import setup, find_packages
version_match = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
io.open("mscheck/__init__.py", encoding="utf_8_sig").read(),
)
if version_match is None:
raise ValueError("Version could not be determined")
__version__ = version_match.group(1)
if os.path.exists("README.md"):
long_description = open("README.md").read()
else:
long_description = """Auto MS mass checker"""
setup(
name="mscheck",
version=__version__,
author="Warren Thompson",
author_email="waztom@gmail.com",
py_modules=["mscheck"],
description="Auto MS mass checker",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
install_requires=[
"rdkit",
"matplotlib",
"scipy",
"svgutils",
],
packages=find_packages(),
url="https://github.com/Waztom/mscheck",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)