Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
__pycache__
dist/
*.egg-info/
*.pyc
19 changes: 4 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["setuptools>=75.0"]
build-backend = "setuptools.build_meta"

[project]
name = "instaparser"
Expand All @@ -16,7 +16,6 @@ keywords = ["instaparser", "article", "parser", "web-scraping", "content-extract
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
Expand Down Expand Up @@ -49,18 +48,8 @@ Repository = "https://github.com/Instapaper/instaparser-python.git"
Issues = "https://github.com/Instapaper/instaparser-python/issues"
Changelog = "https://github.com/Instapaper/instaparser-python/blob/main/CHANGELOG.md"

[tool.hatch.version]
path = "instaparser/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"instaparser/",
"LICENSE",
"README.md",
]

[tool.hatch.build.targets.wheel]
packages = ["instaparser"]
[tool.setuptools.dynamic]
version = {attr = "instaparser.__version__"}

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down