diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5e495f6 --- /dev/null +++ b/pyproject.toml @@ -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" diff --git a/setup.py b/setup.py deleted file mode 100644 index 5addf4a..0000000 --- a/setup.py +++ /dev/null @@ -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', - ] - }, -)