mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-07 18:18:29 +03:00
43 lines
1.0 KiB
Python
43 lines
1.0 KiB
Python
import os.path
|
|
import setuptools
|
|
|
|
|
|
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as fp:
|
|
readme = fp.read()
|
|
|
|
|
|
setuptools.setup(
|
|
name = 'snscrape',
|
|
description = 'A social networking service scraper',
|
|
long_description = readme,
|
|
long_description_content_type = 'text/markdown',
|
|
author = 'JustAnotherArchivist',
|
|
url = 'https://github.com/JustAnotherArchivist/snscrape',
|
|
classifiers = [
|
|
'Development Status :: 4 - Beta',
|
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: 3.9',
|
|
'Programming Language :: Python :: 3.10',
|
|
],
|
|
packages = ['snscrape', 'snscrape.modules'],
|
|
setup_requires = ['setuptools_scm'],
|
|
use_scm_version = True,
|
|
install_requires = [
|
|
'requests[socks]',
|
|
'lxml',
|
|
'beautifulsoup4',
|
|
'pytz; python_version < "3.9.0"',
|
|
'filelock',
|
|
],
|
|
python_requires = '~=3.8',
|
|
extras_require = {
|
|
'test': ['coverage'],
|
|
},
|
|
entry_points = {
|
|
'console_scripts': [
|
|
'snscrape = snscrape._cli:main',
|
|
],
|
|
},
|
|
)
|