-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
7 changed files
with
84 additions
and
72 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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" |
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,5 +1,63 @@ | ||
[metadata] | ||
license_file = LICENSE | ||
name = clld-glottologfamily-plugin | ||
version = 4.0.1.dev0 | ||
author = Robert Forkel | ||
author_email = [email protected] | ||
description = A clld plugin adding language family information from Glottolog | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
keywords = web pyramid clld | ||
license = Apache 2.0 | ||
license_files = LICENSE | ||
url = https://github.com/clld/clld-glottologfamily-plugin | ||
platforms = any | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Intended Audience :: Developers | ||
Natural Language :: English | ||
Operating System :: OS Independent | ||
Programming Language :: Python :: 3 | ||
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 | ||
License :: OSI Approved :: Apache Software License | ||
|
||
[options] | ||
zip_safe = False | ||
packages = find: | ||
package_dir = | ||
= src | ||
python_requires = >=3.8 | ||
install_requires = | ||
clld>=7.0 | ||
sqlalchemy | ||
zope.interface | ||
pybtex | ||
pyglottolog>=2.0 | ||
include_package_data = True | ||
|
||
[options.packages.find] | ||
where = src | ||
|
||
[options.package_data] | ||
clld_glottologfamily_plugin = | ||
templates/* | ||
|
||
[options.extras_require] | ||
dev = | ||
flake8 | ||
wheel | ||
build | ||
twine | ||
test = | ||
pytest>=5 | ||
pytest-mock | ||
pytest-cov | ||
pytest-clld | ||
coverage>=4.2 | ||
webtest | ||
|
||
[bdist_wheel] | ||
universal = 1 | ||
|
@@ -14,6 +72,9 @@ minversion = 5 | |
testpaths = tests | ||
addopts = | ||
--cov | ||
filterwarnings = | ||
ignore::sqlalchemy.exc.SAWarning | ||
ignore::sqlalchemy.exc.RemovedIn20Warning | ||
|
||
[coverage:run] | ||
source = | ||
|
@@ -22,6 +83,16 @@ source = | |
|
||
[coverage:report] | ||
show_missing = true | ||
skip_covered = true | ||
|
||
[easy_install] | ||
zip_ok = false | ||
|
||
[tox:tox] | ||
envlist = py38, py39, py310, py311, py312 | ||
isolated_build = true | ||
skip_missing_interpreter = true | ||
|
||
[testenv] | ||
deps = .[test] | ||
commands = pytest {posargs} |
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,48 +1,4 @@ | ||
from setuptools import setup, find_packages | ||
from setuptools import setup | ||
|
||
|
||
setup( | ||
name='clld-glottologfamily-plugin', | ||
version='4.0.1.dev0', | ||
description='clld-glottologfamily-plugin', | ||
classifiers=[ | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Framework :: Pyramid", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application", | ||
], | ||
author='Robert Forkel', | ||
author_email='[email protected]', | ||
url='https://github.com/clld/clld-glottologfamily-plugin', | ||
keywords='web pyramid pylons', | ||
packages=find_packages(where="src"), | ||
package_dir={"": "src"}, | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=[ | ||
'clld>=7.0', | ||
'sqlalchemy', | ||
'zope.interface', | ||
'pybtex<0.23; python_version < "3.6"', | ||
'pybtex; python_version > "3.5"', | ||
'pyglottolog>=2.0', | ||
], | ||
extras_require={ | ||
'dev': ['flake8', 'wheel', 'twine'], | ||
'test': [ | ||
'attrs>=19.2', | ||
'pytest>=5.4', | ||
'pytest-mock', | ||
'pytest-clld', | ||
'coverage>=4.2', | ||
'pytest-cov', | ||
'webtest', | ||
], | ||
}, | ||
license="Apache 2.0", | ||
) | ||
setup() |