mirror of
https://github.com/bellingcat/facebook-downloader.git
synced 2026-06-11 21:18:31 +03:00
Update and rename setup.py to pyproject.toml
Update and rename setup.py to pyproject.toml
This commit is contained in:
33
pyproject.toml
Normal file
33
pyproject.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
[build-system]
|
||||
requires = ["setuptools", "setuptools-scm"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "facebook-downloader"
|
||||
version = "1.4.0"
|
||||
description = "A Facebook video downloader."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
license = {file = "LICENSE"}
|
||||
dependencies = ["tqdm", "requests", "selenium"]
|
||||
keywords = ["searchcode", "search-engine", "codesearch", "api-wrapper"]
|
||||
authors = [{name = "Richard Mwewa", email = "rly0nheart@duck.com"}]
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Intended Audience :: Information Technology",
|
||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||
"Operating System :: OS Independent",
|
||||
"Natural Language :: English",
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["facebook_downloader"]
|
||||
|
||||
[project.urls]
|
||||
homepage = "https://www.bellingcat.com"
|
||||
documentation = "https://github.com/bellingcat/facebook-downloader/wiki"
|
||||
repository = "https://github.com/bellingcat/facebook-downloader"
|
||||
|
||||
[project.scripts]
|
||||
facebook_downloader = "facebook_downloader.main:run"
|
||||
31
setup.py
31
setup.py
@@ -1,31 +0,0 @@
|
||||
import setuptools
|
||||
|
||||
with open('README.md', 'r', encoding='utf-8') as file:
|
||||
long_description = file.read()
|
||||
|
||||
setuptools.setup(
|
||||
name='facebook-downloader',
|
||||
version='1.3.1',
|
||||
author='Richard Mwewa',
|
||||
author_email='rly0nheart@duck.com',
|
||||
packages=['facebook_downloader'],
|
||||
description='Facebook video downloader',
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
url='https://github.com/rly0nheart/facebook-downloader',
|
||||
license='GNU General Public License v3 (GPLv3)',
|
||||
install_requires=['requests', 'selenium', 'tqdm'],
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Intended Audience :: Information Technology',
|
||||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
||||
'Operating System :: OS Independent',
|
||||
'Natural Language :: English',
|
||||
'Programming Language :: Python :: 3'
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'facebook_downloader=facebook_downloader.main:main',
|
||||
]
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user