-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
34 lines (29 loc) · 1.23 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
"""
Command line utility for GitHub daily work.
"""
import setuptools
import yogit
DEPENDENCIES = ["click", "halo", "packaging", "PyYAML>=5.1", "pyperclip", "requests", "requests-toolbelt", "tabulate"]
def get_public_description():
with open("README.md", encoding="utf-8") as md_file:
package_description_content = md_file.read()
with open("CHANGELOG.md", encoding="utf-8") as md_file:
changelog_content = md_file.read()
return package_description_content + "\n\n" + changelog_content
setuptools.setup(
name=yogit.__application__,
version=yogit.__version__,
author="Adrien Gavignet",
author_email="[email protected]",
license="MIT",
description="Command line utility for GitHub daily work.",
long_description=get_public_description(),
long_description_content_type="text/markdown",
keywords="git github utility branch pull requests",
url="https://github.com/hasboeuf/yogit",
packages=setuptools.find_packages(exclude=["*.tests", "*.tests.*", "tests"]),
classifiers=["Programming Language :: Python :: 3", "Operating System :: OS Independent"],
zip_safe=True,
install_requires=DEPENDENCIES,
entry_points={"console_scripts": ["yogit=yogit.yogit.cli:main"]},
)