-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
56 lines (50 loc) · 1.57 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
52
53
54
55
56
"""
Publish a new version:
$ check README and setup.py are correctly versioned
$ git tag X.Y.Z -m "Release X.Y.Z"
$ git push --tags
$ pip install --upgrade twine wheel
$ python setup.py sdist bdist_wheel
$ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
// ABOVE ONLY FOR TESTING
$ twine upload dist/*
"""
from setuptools import find_packages, setup
NAME = "RFC.py"
VERSION = "2020.10.1"
DESCRIPTION = (
"A simple python client that offers users the ability to search"
" for, read and bookmark RFC's from the Internet Engineering "
"Task Force whilst offline."
)
URL = "https://github.com/danielmichaels/RFC.py"
DOWNLOAD_URL = URL + "/tarball/" + VERSION
AUTHOR = "Daniel Michaels"
AUTHOR_EMAIL = "dans.address@outlook.com"
REQUIRES_PYTHON = ">= Python 3.6"
# Include what dependencies it requires:
REQUIRED = ["requests", "click", "peewee", "responses"]
entry_points = {"console_scripts": [["rfc = rfcpy.rfc:main"]]}
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=DESCRIPTION,
long_description_content_type="text/markdown",
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
download_url=DOWNLOAD_URL,
install_requires=REQUIRED,
entry_points=entry_points,
include_package_data=True,
license="MIT",
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
],
)