-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (25 loc) · 882 Bytes
/
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
from pathlib import Path
from setuptools import setup
from os import environ
cwd = Path(".")
README = (cwd / "README.md").read_text()
dependencies = (cwd / "requirements.txt").read_text().strip().split("\n")
# This should be set by the automated Github workflow
VERSION = environ["SEMANTIC_VERSION"] if "SEMANTIC_VERSION" in environ else "1.0.0"
setup(
name="cli-xkcd",
version=VERSION,
description="See the daily xkcd comic from your terminal.",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/bradendubois/xkcd",
author="Braden Dubois",
author_email="braden.dubois@cs.usask.ca",
packages=["xkcd"],
keywords="xkcd comic terminal beautifulsoup",
include_package_data=True,
install_requires=dependencies,
entry_points={
'console_scripts': ["xkcd=xkcd.main:run"],
}
)