-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
47 lines (41 loc) · 1.26 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
#!/usr/bin/env python3
import re
from setuptools import setup
with open('./tinder_token/__init__.py', 'r') as f:
version = re.search(r'(?<=__version__ = .)([\d\.]*)', f.read()).group(1)
with open('./README.md', 'r') as f:
readme = f.read()
if __name__ == '__main__':
setup(
name='tinder-token',
version=version,
author='Zsolt Mester',
author_email='',
description='Python library for generating access tokens for using Tinder API, using Facebook or Phone authentication',
long_description=readme,
license='MIT',
url='https://github.com/meister245/tinder-token',
project_urls={
"Code": "https://github.com/meister245/tinder-token",
"Issue tracker": "https://github.com/meister245/tinder-token/issues",
},
packages=[
'tinder_token'
],
python_requires='>=3.6',
install_requires=[
'requests'
],
extras_require={
'facebook': [
'robobrowser',
'html5lib',
'Werkzeug==0.16.1'
]
},
include_package_data=True,
scripts=[
'scripts/tinder-token',
'scripts/tinder-token.py'
]
)