Skip to content
Open
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
Expand Up @@ -6,3 +6,4 @@ dist/
htmlcov/
.tox/
build/
.venv/
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
before_install:
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python - -y --preview
- source $HOME/.poetry/env
install:
- pip install flake8
- pip install coveralls
- poetry install
script:
- flake8 .
- coverage run --branch --source pyuca test.py
- coverage run --append --branch --source pyuca -m doctest pyuca/utils.py
- coverage run --append --branch --source pyuca full_test.py
- poetry run flake8 .
- poetry run coverage run --branch --source pyuca test.py
- poetry run coverage run --append --branch --source pyuca -m doctest pyuca/utils.py
- poetry run coverage run --append --branch --source pyuca full_test.py
after_success:
- coveralls
- poetry run coveralls
sudo: false
4 changes: 0 additions & 4 deletions MANIFEST.in

This file was deleted.

236 changes: 236 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[tool.poetry]
name = "pyuca"
version = "1.2"
description = "a Python implementation of the Unicode Collation Algorithm"
license = "MIT"
readme = "README.md"
repository = "http://github.com/jtauber/pyuca"
authors = ["James Tauber <jtauber@jtauber.com>"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Text Processing"
]
packages = [
{ include = "pyuca" },
{ include = "AUTHORS", format = "sdist" },
{ include = "test.py", format = "sdist" },
{ include = "full_test.py", format = "sdist" },
{ include = "CollationTest", format = "sdist" },
]

[tool.poetry.dependencies]
python = "^3.4"

[tool.poetry.dev-dependencies]
flake8 = "^3.7.9"
coveralls = "^1.9.2"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

29 changes: 0 additions & 29 deletions setup.py

This file was deleted.