8000 Add a setup.py script · realpython/rptree@2fbf15b · GitHub
[go: up one dir, main page]

Skip to content

Commit 2fbf15b

Browse files
committed
Add a setup.py script
1 parent 697e3d8 commit 2fbf15b

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

setup.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import pathlib
2+
from setuptools import setup
3+
4+
from rptree import __version__
5+
6+
HERE = pathlib.Path().cwd()
7+
DESCRIPTION = HERE.joinpath("README.md").read_text()
8+
VERSION = __version__
9+
10+
11+
setup(
12+
name="rptree",
13+
version=VERSION,
14+
description="Generate directory tree diagrams for Real Python articles",
15+
long_description=DESCRIPTION,
16+
long_description_content_type="text/markdown",
17+
url="https://github.com/realpython/rptree",
18+
author="Real Python",
19+
author_email="info@realpython.com",
20+
maintainer="Leodanis Pozo Ramos",
21+
maintainer_email="leodanis@realpython.com",
22+
license="MIT",
23+
classifiers=[
24+
"License :: OSI Approved :: MIT License",
25+
"Programming Language :: Python :: 3",
26+
"Programming Language :: Python :: 3.7",
27+
"Programming Language :: Python :: 3.8",
28+
"Programming Language :: Python :: 3.9",
29+
"Programming Language :: Python :: Implementation :: CPython",
30+
],
31+
packages=["rptree"],
32+
include_package_data=True,
33+
entry_points={
34+
"console_scripts": [
35+
"rptree=rptree.__main__:main",
36+
]
37+
},
38+
)

0 commit comments

Comments
 (0)
0