-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·28 lines (24 loc) · 861 Bytes
/
setup.py
File metadata and controls
executable file
·28 lines (24 loc) · 861 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
#!/usr/bin/env python3
import os
from setuptools import setup
# parse dependencies from requirements.txt
folder = os.path.dirname(os.path.realpath(__file__))
requirement_path = folder + '/requirements.txt'
install_requires = []
if os.path.isfile(requirement_path):
with open(requirement_path) as f:
install_requires = f.read().splitlines()
setup(name='xfinity_refresh',
version='1.0',
description='xfinity free complimentary pass refresher',
author='milesial',
packages=['xfinity_refresh'],
install_requires=install_requires,
entry_points={
'console_scripts': [
'xfinity-refresh = xfinity_refresh.__main__:main',
'xfinity-refresh-server = xfinity_refresh.server:server',
'xfinity-refresh-client = xfinity_refresh.client:client'
]
},
)