-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.71 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
from setuptools import setup, find_packages
import codecs
with codecs.open('bladoxy/README.md', encoding='utf-8') as f:
long_description = f.read()
def parse_requirements(filename):
with open(filename, 'r') as f:
lines = f.read().splitlines()
return [line for line in lines if line.strip() and not line.strip().startswith('#')]
setup(
name="bladoxy",
version="1.4.4",
license='http://www.apache.org/licenses/LICENSE-2.0',
description="Bladoxy is a linux network assistant.",
author='Magicum Sidus',
author_email='[email protected]',
url='https://github.com/magicum-sidus/Bladoxy',
packages=find_packages(),
include_package_data=True,
package_data={
'bladoxy': ['README.md', 'LICENSE', 'modules/dependeencies/**/*', 'modules/dependeencies_src/**/*','modules/privoxy/**/*'],
},
# install_requires=[
# # Add any other dependencies your package requires
# ],
install_requires=parse_requirements('bladoxy/requirements.txt'),
entry_points="""
[console_scripts]
bladoxy = bladoxy.cli.cli_app:main
sslocal = bladoxy.modules.shadowsocks_module.shadowsocks.local:main
ssserver = bladoxy.modules.shadowsocks_module.shadowsocks.server:main
""", # sslocal/ssserver我不希望暴露给用户
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: Proxy Servers'
],
python_requires='>=3.5, <3.10',
long_description=long_description,
long_description_content_type='text/markdown'
)