-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (43 loc) · 1.61 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
from os import path
from setuptools import setup, find_packages
_here = path.dirname(path.abspath(__file__))
# https://stackoverflow.com/a/16624700/3356840
#from pip.req import parse_requirements
# `parse_requirements` is not in python2 - this is simple re-implementation
import re
REGEX_COMMENT = re.compile(r'(?:[\s^]#(.*))|(git\+.*)')
def parse_requirements(filename):
with open(filename, 'rt') as filehandle:
return tuple(filter(None, (
REGEX_COMMENT.sub('', line).strip()
for line in filehandle
)))
setup(
name='multisocketServer',
description='TCP/Websocket bridge with JSON message routing and reconnecting clients',
version='0.0.1',
#package_dir={'': 'client/python'},
packages=find_packages(
#'client/python',
exclude=["*.tests", "*.tests.*", "tests.*", "tests"],
),
include_package_data=True,
long_description=open(path.join(_here, 'README.md')).read(),
install_requires=parse_requirements('subscriptionServer2/requirements.txt'),
url='https://github.com/superLimitBreak/multisocketServer',
author='Allan Callaghan',
author_email='[email protected]',
license='GPL3',
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Developers',
'License :: OSI Approved :: GPL3 License',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords=[
],
)