-
Notifications
You must be signed in to change notification settings - Fork 313
/
setup.py
60 lines (57 loc) · 2.1 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
57
58
59
60
from setuptools import setup
from os import path
import updog
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='updog',
version=updog.version,
url='https://github.com/sc0tfree/updog',
# GitHub releases in format "updog-X.Y"
download_url = 'https://github.com/sc0tfree/updog/archive/updog-' + updog.version + '.tar.gz',
license='MIT',
author='sc0tfree',
author_email='henry@sc0tfree.com',
description='Updog is a replacement for Python\'s SimpleHTTPServer. '
'It allows uploading and downloading via HTTP/S, can set '
'ad hoc SSL certificates and use http basic auth.',
long_description=long_description,
long_description_content_type='text/markdown',
keywords='HTTP server SimpleHTTPServer directory',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: File Sharing',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Security'
],
packages=['updog', 'updog.utils'],
entry_points={
'console_scripts': 'updog = updog.__main__:main'
},
include_package_data=True,
install_requires=[
'colorama',
'flask',
'flask_httpauth',
'werkzeug',
'pyopenssl'
],
)