-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·54 lines (47 loc) · 1.58 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
import os
import sys
from setuptools import setup
PACKAGE_NAME = "markmeld"
# Ordinary dependencies
DEPENDENCIES = []
with open("requirements/requirements-all.txt", "r") as reqs_file:
for line in reqs_file:
if not line.strip():
continue
DEPENDENCIES.append(line)
# Additional keyword arguments for setup()
extra = {"install_requires": DEPENDENCIES}
with open(PACKAGE_NAME + "/_version.py", "r") as versionfile:
version = versionfile.readline().split()[-1].strip("\"'\n")
with open("README.md") as f:
long_description = f.read()
setup(
name=PACKAGE_NAME,
packages=[PACKAGE_NAME],
version=version,
long_description=long_description,
long_description_content_type="text/markdown",
description="Markmeld is a markup melder that combines structured yaml or "
"markdown data into templated markdown output using jinja2.",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
license="BSD2",
entry_points={
"console_scripts": [
"mm = markmeld.cli:main",
],
},
keywords="bioinformatics, sequencing, ngs",
package_data={"refgenie": [os.path.join("refgenie", "*")]},
include_package_data=True,
url="http://markmeld.databio.org",
author="Nathan Sheffield",
**extra
)