-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (47 loc) · 1.49 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
# coding: utf-8
# pylint: disable=missing-docstring
# pylint: disable=invalid-name
import os
import glob
from setuptools import setup, find_packages
import os
import glob
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, '__version__'), encoding='utf-8') as f:
__version__ = f.read().strip()
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
__readme__ = f.read().strip()
__app_name__ = 'pyjamapeople'
def main():
setup(
name=__app_name__,
version=__version__,
description='example using asyncio, tornado and websocket together',
long_description_content_type='text/x-rst',
long_description=__readme__,
url='',
author='giovanni angeli',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
],
packages=find_packages(where='src'),
package_dir={'': 'src'},
data_files=[
('templates', list(glob.glob('src/templates/*'))),
('statics', list(glob.glob('src/statics/*'))),
],
include_package_data=True,
scripts=[
'bin/pyjamapeople',
],
install_requires=[
'tornado',
],
)
if __name__ == '__main__':
main()