-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
75 lines (65 loc) · 2.74 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python3.7
# Author: Roujia Li
# email: [email protected]
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
with open("README.md", "r") as fh:
long_description = fh.read()
########################################
# set up file for packaging the project
# 1. change the version of the project (pypi doesn't allow the same version number)
# 2. To build from source (also in tmp_update.sh)
# * Run `python setup.py bdist_wheel`
# * Run `python -m pip install dist/TileSeqMut-0.***.tar.gz`
# 3. To upload to pypi
# * Run `python setup.py bdist_wheel`
# * Run `twine upload dist/TileSeqMut-0.***.tar.gz`
# 4. Note: to prevent potential problems of the wheel file, remove the older version before building a new one
# (remove build/ and dist/)
########################################
setup(
name="TileSeqMut",
version="0.6.910",
author="ROUJIA LI",
author_email="[email protected]",
description="Analysis scriptsTileSeqMut for TileSeq sequencing data",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/RyogaLi/tilseq_mutcount",
package_data={'TileSeqMut': ['data/*.fasta', "*.R", "*.r"]},
scripts=['bin/tileseq_mut', 'bin/mergeRuns', 'bin/posterior_QC', 'bin/random_ds', 'bin/makePRC'],
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[ # Optional
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate you support Python 3. These classifiers are *not*
# checked by 'pip install'. See instead 'python_requires' below.
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
packages=find_packages(), # Optional
install_requires=['pandas', 'seaborn', 'numpy', 'biopython', 'fpdf', 'progressbar', 'matplotlib'],
python_requires='>=3.7',
# # To provide executable scripts, use entry points in preference to the
# # "scripts" keyword. Entry points provide cross-platform support and allow
# # `pip` to create the appropriate form of executable for the target
# # platform.
# #
# # For example, the following would provide a command called `sample` which
# # executes the function `main` from this package when invoked:
# entry_points={ # Optional
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)