-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (33 loc) · 1005 Bytes
/
setup.py
File metadata and controls
37 lines (33 loc) · 1005 Bytes
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
"""
Usage:
pip install tinyhttp
Upload to PyPi:
python3 setup.py sdist
twine upload dist/<tinyhttp artifact>
Please note: In order to use Nimporter, you must have both Nim installed as well
as the [Nimpy](https://github.com/yglukhov/Nimpy) library.
Make sure to star it on GitHub as well while you're up there. ;)
"""
from pathlib import Path
from setuptools import setup
setup(
name='tinyhttp',
author='http://github.com/Pebaz',
url='http://github.com/Pebaz/tinyhttp',
version=(Path(__file__).parent / 'tinyhttp/VERSION.txt').read_text(),
license='MIT',
description='Very fast static file HTTP server using Nim for speed.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
packages=['tinyhttp'],
package_data={
'tinyhttp' : ['*.txt', '*.css', '*.nim'],
},
include_package_data=True,
install_requires=['nimporter'],
entry_points={
'console_scripts' : [
'tinyhttp=tinyhttp.mod:main'
]
}
)