-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e4ce34
commit 6e1f343
Showing
7 changed files
with
56 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
*__pycache__* | ||
.* | ||
*.pyc | ||
*.egg-info* | ||
.coverage | ||
.mypy_cache | ||
.idea | ||
.vscode | ||
.pytest_cache | ||
.hypothesis | ||
perfs.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,40 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 40.9.0", | ||
"wheel", | ||
] | ||
requires = ["setuptools >= 61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.black] | ||
force-exclude = 'tests/' | ||
[project] | ||
name = "portion" | ||
version = "2.6.1" | ||
license = { text = "LGPLv3" } | ||
authors = [{ name = "Alexandre Decan", email = "alexandre.decan@lexpage.net" }] | ||
description = "Python data structure and operations for intervals" | ||
readme = { file = "README.md", content-type = "text/markdown" } | ||
urls = { Homepage = "https://github.com/AlexandreDecan/portion" } | ||
keywords = ["interval", "range", "span"] | ||
requires-python = "~= 3.9" | ||
dependencies = ["sortedcontainers ~= 2.2"] | ||
classifiers = [ | ||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest ~= 7.0", "coverage ~= 6.0", "ruff >= 0.6.9"] | ||
|
||
[tool.ruff] | ||
extend-exclude = ["tests/"] | ||
|
||
[tool.setuptools] | ||
packages = ["portion"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,3 @@ | ||
from os import path | ||
from setuptools import setup, find_packages | ||
from codecs import open | ||
from setuptools import setup | ||
|
||
with open( | ||
path.join(path.abspath(path.dirname(__file__)), "README.md"), encoding="utf-8" | ||
) as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="portion", | ||
version="2.6.0", | ||
license="LGPLv3", | ||
author="Alexandre Decan", | ||
url="https://github.com/AlexandreDecan/portion", | ||
description="Python data structure and operations for intervals", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
classifiers=[ | ||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering :: Mathematics", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
], | ||
keywords="interval operation range math", | ||
packages=find_packages(include=["portion"]), | ||
python_requires="~= 3.8", | ||
install_requires=[ | ||
"sortedcontainers ~= 2.2", | ||
], | ||
extras_require={ | ||
"test": ["pytest ~= 7.0", "coverage ~= 6.0", "black >= 21.8b"], | ||
}, | ||
zip_safe=True, | ||
) | ||
setup() |