-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.py
62 lines (56 loc) · 1.93 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from setuptools import setup
from sys import argv, exit
import glob
import os
with open('README.md') as readme_file:
long_description = readme_file.read()
# 'setup.py publish' shortcut.
if argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wheel')
os.system('twine upload dist/*')
exit()
elif argv[-1] == 'clean':
import shutil
if os.path.isdir('build'):
shutil.rmtree('build')
if os.path.isdir('dist'):
shutil.rmtree('dist')
if os.path.isdir('fb_friend_list_scraper.egg-info'):
shutil.rmtree('fb_friend_list_scraper.egg-info')
setup(
name="fb_friend_list_scraper",
version="0.3.6",
description="Tool to scrape names and usernames from large friend lists on Facebook, without being rate limited.",
long_description_content_type='text/markdown',
long_description=long_description,
url="https://github.com/narkopolo/fb_friend_list_scraper",
author="narkopolo",
author_email="[email protected]",
license="GPL-3.0",
packages=["fb_friend_list_scraper"],
entry_points={
"console_scripts": ["fbfriendlistscraper=fb_friend_list_scraper.scraper:main"],
},
python_requires=">=3.6",
install_requires=[
"pyautogecko==0.1.3",
"beautifulsoup4==4.10.0",
"selenium==4.1.3",
"tqdm==4.43.0",
"rich==12.2.0",
"selenium-wire==4.6.3",
"requests==2.28.1"
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
'Topic :: System :: Installation/Setup',
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)