-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
40 lines (33 loc) · 1.22 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
import setuptools
from os import path
PKG_NAME = "buttery-eel"
MOD_NAME = "src"
# add readme to long description as that's what pypi sees
with open("README.md", "r") as f:
long_description = f.read()
# get version from file rather than here so change isn't in this file
__version__ = ""
exec(open("{}/_version.py".format(MOD_NAME)).read())
# create package install list
# User can set version of ont-pyguppy-client-lib to match guppy version
with open(path.join(path.abspath(path.dirname(__file__)),"requirements.txt")) as f:
install_requires = [p.strip() for p in f]
setuptools.setup(
name=PKG_NAME,
version=__version__,
url="https://github.com/Psy-Fer/buttery-eel",
author="James Ferguson",
author_email="[email protected]",
description="Slow5 guppy/dorado basecall wrapper",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
python_requires=">=3.8",
install_requires=install_requires,
setup_requires=["numpy"],
entry_points={"console_scripts":["buttery-eel=src.buttery_eel:main"],},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
)