Skip to content

Migrate build to Poetry #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 18, 2021
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
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ jobs:
when: always
command: ./dev.py black-check

- run:
name: Check that the build completes
when: always
command: poetry build

- store_artifacts:
path: dist

workflows:
version: 2

Expand Down
3 changes: 0 additions & 3 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def doc_open():
@cli.command()
def publish():
execute("rm -rf dist/")
execute("python setup.py sdist bdist_wheel")
execute("poetry build")
execute("twine upload dist/*")


Expand Down
51 changes: 27 additions & 24 deletions poetry.lock

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

25 changes: 21 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
[tool.poetry]
name = "vg"
version = "0.1.0"
version = "1.11.1"
description = "Linear algebra for humans: a very good vector-geometry and linear-algebra toolbelt"
authors = ["Paul Melnikow <[email protected]>"]
license = "BSD"
authors = ["Paul Melnikow <[email protected]>", "Metabolize, Body Labs, and other contributors"]
license = "BSD-2-Clause"
include = ["CHANGELOG.md"]
exclude = ["*/test_*.py"]
homepage = "https://vgpy.readthedocs.io/en/stable"
repository = "https://github.com/lace/vg"
documentation = "https://vgpy.readthedocs.io/en/stable"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Manufacturing",
"Topic :: Artistic Software",
"Topic :: Multimedia :: Graphics :: 3D Modeling",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Visualization",
"Operating System :: OS Independent",
]


[tool.poetry.dependencies]
python = ">= 3.7, < 4"
numpy = "^1.20.3"
numpy = "*"

[tool.poetry.dev-dependencies]
executor = ">= 21.0"
Expand Down
41 changes: 0 additions & 41 deletions setup.py

This file was deleted.

1 change: 0 additions & 1 deletion vg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from . import matrix # noqa: F401
from . import shape # noqa: F401
from .core import * # noqa: F403,F401
from .package_version import __version__ # noqa: F401


__all__ = _core.__all__ + ["matrix", "shape"]
1 change: 0 additions & 1 deletion vg/package_version.py

This file was deleted.