-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
51 lines (43 loc) · 1.42 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
#!/usr/bin/env python3
# noinspection PyUnresolvedReferences
import setuptools
from pathlib import Path
keywords = ["testing", "filetree", "tree"]
description = (
"Create a random file/directory tree/structure in python for"
"testing purposes."
)
this_dir = Path(__file__).resolve().parent
packages = setuptools.find_packages()
with (this_dir / "README.md").open() as fh:
long_description = fh.read()
with (this_dir / "randomfiletree" / "version.txt").open() as vf:
version = vf.read()
setuptools.setup(
name="RandomFileTree",
version=version,
packages=packages,
url="https://github.com/klieret/RandomFileTree",
project_urls={
"Bug Tracker": "https://github.com/klieret/RandomFileTree/issues",
"Documentation": "https://randomfiletree.readthedocs.io/",
"Source Code": "https://github.com/klieret/RandomFileTree/",
},
package_data={
"randomfiletree": ["version.txt"],
},
install_requires=[],
license="MIT",
entry_points={"console_scripts": ["randomfiletree=randomfiletree.cli:cli"]},
keywords=keywords,
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Utilities",
],
include_package_data=True,
)