voting/pyproject.toml

66 wiersze
1.5 KiB
TOML

[tool.black]
line-length = 120
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.github
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
)
'''
[tool.poetry]
name = "voting"
version = "0.1.1"
description = "Voting and election related functions."
authors = ["Flynn <crf204@gmail.com>"]
readme = "README.rst"
license = "MIT"
repository = "https://github.com/crflynn/voting"
homepage = "https://github.com/crflynn/voting"
packages = [
{ include = "voting" }
]
include = ["HISTORY.rst"]
keywords = ["voting", "disproportionality", "apportionment", "diversity", "election"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
]
[tool.poetry.dependencies]
python = "^3.5"
[tool.poetry.dev-dependencies]
sphinx = "^2.1"
sphinx-autobuild = "^0.7.1"
sphinx-rtd-theme = "^0.4.3"
pytest = "^5.0"
pytest-cov = "^2.7"
twine = "^1.13"
black = {version = "^18.3-alpha.0",allows-prereleases = true,python = "^3.7"}
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"