got rid of setup.py
This commit is contained in:
parent
65f8c7d4be
commit
5ea0a55bcb
6
pyproject.toml
Normal file
6
pyproject.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = [
|
||||||
|
"setuptools>=42",
|
||||||
|
"wheel"
|
||||||
|
]
|
||||||
|
build-backend = "setuptools.build_meta"
|
37
setup.cfg
Normal file
37
setup.cfg
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
[metadata]
|
||||||
|
name = soupjobs
|
||||||
|
version = 0.0.1
|
||||||
|
author = Daniil F.
|
||||||
|
author_email = mail@placeholder123.to
|
||||||
|
description = Simple asynchronous scraping jobs
|
||||||
|
long_description = file: README.md
|
||||||
|
long_description_content_type = text/markdown
|
||||||
|
url = https://github.com/daniil-berg/soupjobs
|
||||||
|
project_urls =
|
||||||
|
Bug Tracker = https://github.com/daniil-berg/soupjobs/issues
|
||||||
|
classifiers =
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
License :: OSI Approved :: MIT License
|
||||||
|
Operating System :: OS Independent
|
||||||
|
keywords = webscraping, html, markup, dom, scraper, attributes, tags
|
||||||
|
|
||||||
|
[options]
|
||||||
|
package_dir =
|
||||||
|
= src
|
||||||
|
packages = find:
|
||||||
|
python_requires = >=3.7
|
||||||
|
install_requires =
|
||||||
|
aiohttp
|
||||||
|
beautifulsoup4
|
||||||
|
pydantic
|
||||||
|
pyyaml
|
||||||
|
|
||||||
|
[options.extras_require]
|
||||||
|
tests =
|
||||||
|
coverage
|
||||||
|
|
||||||
|
[options.packages.find]
|
||||||
|
where = src
|
||||||
|
|
||||||
|
[options.package_data]
|
||||||
|
soupjobs = example.config.yaml
|
34
setup.py
34
setup.py
@ -1,34 +0,0 @@
|
|||||||
import setuptools
|
|
||||||
|
|
||||||
with open("README.md", "r") as fh:
|
|
||||||
long_description = fh.read()
|
|
||||||
|
|
||||||
setuptools.setup(
|
|
||||||
name="soupjobs",
|
|
||||||
version="0.0.1",
|
|
||||||
author="Dan",
|
|
||||||
# author_email="mail@...",
|
|
||||||
description="Simple asynchronous scraping jobs",
|
|
||||||
long_description=long_description,
|
|
||||||
long_description_content_type="text/markdown",
|
|
||||||
# url="https://github.com/...",
|
|
||||||
package_dir={'': 'src'},
|
|
||||||
packages=setuptools.find_packages(where='src'),
|
|
||||||
package_data={'soupjobs': ['example.config.yaml']},
|
|
||||||
install_requires=[
|
|
||||||
'aiohttp',
|
|
||||||
'beautifulsoup4',
|
|
||||||
'pydantic',
|
|
||||||
'pyyaml',
|
|
||||||
],
|
|
||||||
extras_require={
|
|
||||||
'tests': ['coverage'],
|
|
||||||
},
|
|
||||||
classifiers=[
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"License :: OSI Approved :: MIT License",
|
|
||||||
"Operating System :: OS Independent",
|
|
||||||
],
|
|
||||||
python_requires='>=3.9',
|
|
||||||
keywords='webscraping html markup dom scraper attributes tags',
|
|
||||||
)
|
|
Loading…
Reference in New Issue
Block a user