Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·51 lines (46 loc) · 1.83 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·51 lines (46 loc) · 1.83 KB
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
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname), "r").read()
def get_version():
g = {}
exec(open(os.path.join("webpie", "Version.py"), "r").read(), g)
return g["Version"]
setup(
name = "webpie",
version = get_version(),
author = "Igor Mandrichenko",
author_email = "igorvm@gmail.com",
description = ("A set of useful tools built on top of standard Python threading module"),
license = "BSD 3-clause",
keywords = "web service, wsgi, web application",
url = "https://webpie.github.io/",
packages=['webpie', 'samples', 'webpie/webob', 'webpie/logs', 'router', 'multiserver'],
long_description=read('README.rst'),
install_requires=["pythreader>=2.8.2"],
zip_safe = False,
classifiers=[
"Operating System :: POSIX",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Programming Language :: Python",
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
'Intended Audience :: Developers',
],
entry_points = {
"console_scripts": [
"webpie_multiserver = multiserver.multiserver:main",
"webpie_router = router.router:main",
]
}
)