-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·45 lines (40 loc) · 1.24 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
#! /usr/bin/env python3
from setuptools import setup, find_packages
from docs import getVersion
changelog = open("CHANGES.rst").read()
long_description = "\n\n".join([open("README.rst").read(), changelog])
setup(
name="bottle-rest",
version=getVersion(changelog),
description="Decorators to make REST easier in Bottle.",
long_description=long_description,
url="https://github.com/Bystroushaak/rbottle",
author="Bystroushaak",
author_email="[email protected]",
classifiers=[
"Framework :: Bottle",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
],
license="MIT",
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
zip_safe=True,
install_requires=[
"setuptools",
"bottle",
],
extras_require={
"test": ["pytest"],
"docs": [
"sphinx",
"sphinxcontrib-napoleon",
],
},
)