forked from nbartos/MobilePASSER
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (22 loc) · 723 Bytes
/
setup.py
File metadata and controls
25 lines (22 loc) · 723 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
from setuptools import setup, find_packages
try:
from pip._internal.download import PipSession
except ImportError:
from pip.download import PipSession
try:
from pip._internal.req import parse_requirements
except ImportError:
from pip.req import parse_requirements
def reqs(path):
return [str(r.req) for r in parse_requirements(path, session=PipSession())]
INSTALL_REQUIRES = reqs("requirements.txt")
setup(
name='MobilePASSER',
version='1.0',
description='A reimplementation of the MobilePASS client in Python.',
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
entry_points={
'console_scripts': ['mobilepasser = mobilepasser.mobilepasser:main',]
},
)