-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
46 lines (39 loc) · 1.39 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
from pathlib import Path
from setuptools import find_packages, setup
def make_long_description():
here = Path(__file__).parent
readme = (here / "README.md").read_text()
changelog = (here / "CHANGELOG.md").read_text()
return f"{readme}\n\n{changelog}"
kwargs = dict(
name="i3configger",
author="Oliver Bestwalter",
url="https://github.com/obestwalter/i3configger",
description="i3 config manipulation tool",
long_description=make_long_description(),
long_description_content_type="text/markdown",
use_scm_version=True,
python_requires=">=3.6",
setup_requires=["setuptools_scm"],
entry_points={"console_scripts": ["i3configger = i3configger.cli:main"]},
install_requires=["psutil", "python-daemon"],
extras_require={
"lint": ["pre-commit"],
"test": ["pytest", "coverage"],
"docs": ["mkdocs", "mkdocs-material"],
"release": ["plumbum", "twine", "readme_renderer[md]"],
},
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Topic :: Utilities",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)
if __name__ == "__main__":
setup(**kwargs)