-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·49 lines (44 loc) · 1.71 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
#!/usr/bin/env python
# encoding: utf-8
import sys
import os
from setuptools import setup, find_packages
from tiny_http_server import __version__
if sys.version_info < (3, 7):
sys.exit("ERROR: tiny-http-server requires Python 3.6+")
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md")) as f:
readme = f.read()
setup(
name="tiny-http-server",
version=__version__,
author="Johann Petrak",
author_email="johann.petrak@gmail.com",
url="https://github.com/johann-petrak/python-tiny-http-server",
keywords=["tools", "http", "https", "server"],
description="Simple ad-hoc static web page server with basic auth and https support",
long_description=readme,
long_description_content_type="text/markdown",
python_requires=">=3.7",
platforms="any",
license="MIT License",
packages=find_packages(),
entry_points={"console_scripts": ["tiny-http-server=tiny_http_server.server:main"]},
classifiers=[
# "Development Status :: 6 - Mature",
# "Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
# "Development Status :: 3 - Alpha",
# "Development Status :: 2 - Pre-Alpha",
# "Development Status :: 1 - Planning",
"License :: OSI Approved :: MIT License",
# !! Uses ThreadingHTTPServer which is not available in 3.6
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Developers",
],
)