-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (40 loc) · 1.48 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
# Use this file to generate and publish a PyPi package for each new release
#
# Procedure:
# - make sure __version__ variable is correctly set in mbctools.py, and that GitHub tag and release exist for the same version number
# - enter command "python3 setup.py sdist bdist_wheel" to build the package
# - enter command "twine upload dist/*", which will prompt for your PyPi token
import re
from setuptools import setup, find_packages
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('mbctools.py').read(),
re.M
).group(1)
with open("README.md", "rb") as f:
long_descr = f.read().decode("utf-8")
setup(
name='mbctools',
version=version,
description='mbctools: A User-Friendly Metabarcoding and Cross-Platform Pipeline for Analyzing Multiple Amplicon Sequencing Data across a Large Diversity of Organisms',
long_description = long_descr,
long_description_content_type="text/markdown",
url='https://github.com/GuilhemSempere/mbctools/blob/dev/mbctools.py',
author='Christian Barnabé, Guilhem Sempéré',
author_email='[email protected]',
license='MIT',
packages=find_packages(),
install_requires=[],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
py_modules=['mbctools'],
entry_points={
"console_scripts": [
'mbctools = mbctools:main'
]
},
)