-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (61 loc) · 2.25 KB
/
Copy pathsetup.py
File metadata and controls
68 lines (61 loc) · 2.25 KB
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
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
"""
from setuptools import setup, find_packages
import pathlib
changes = """
"""
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / "README.md").read_text(encoding="utf-8")
changes = (here / "CHANGES.md").read_text(encoding="utf-8")
# extract version
lines = changes.splitlines()
lines = [l[2:] for l in lines if l.startswith('##')]
version = lines[0].strip().split(':', 1)[0].split()[-1].strip()
setup(
name="data-flow-diagram",
version=version,
description="Commandline tool to generate data flow diagrams from text",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pbauermeister/dfd",
author="Pascal Bauermeister",
author_email="pascal.bauermeister@gmail.com",
classifiers=[
# https://pypi.org/classifiers/ :
"Development Status :: 3 - Alpha",
"Intended Audience :: Information Technology",
"Topic :: Software Development",
"Topic :: Software Development :: Documentation",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
],
keywords="diagram-generator, development, tool",
license="GNU General Public License v3 (GPLv3)",
package_dir={"": "src"},
packages=find_packages(where="src"),
python_requires=">=3.11, <4",
install_requires=[],
extras_require={
"dev": ["check-manifest"],
"test": ["coverage"],
},
package_data={
# "data_flow_diagram": ["tbdpackage__data.dat"],
},
# data_files=[('data_flow_diagram', ["VERSION"])],
# The following would provide a command called `data-flow-diagram` which
# executes the function `main` from this package when invoked:
entry_points={
"console_scripts": [
"data-flow-diagram=data_flow_diagram:main",
],
},
project_urls={
"Bug Reports": "https://github.com/pbauermeister/dfd/issues",
# "Funding": "https://donate.pypi.org",
# "Say Thanks!": "http://saythanks.io/to/example",
"Source": "https://github.com/pbauermeister/dfd",
},
)