Skip to content

Commit

Permalink
Change build system to flit
Browse files Browse the repository at this point in the history
setuptools does not have functionality for editable entry points, which
will be very useful for developing the CLI script. As such, I am
switching this project over to flit.
  • Loading branch information
AleksBekker committed Aug 4, 2023
1 parent 9fe04e5 commit e9e05e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pytest = "*"
pytest-cov = "*"
tox = "*"
isort = "*"
flit = "*"

[requires]
python_version = "3.8"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "macta_tools"
Expand Down
4 changes: 2 additions & 2 deletions src/macta_tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from macta_tools import tools, utils
from macta_tools._annotate import annotate
from macta_tools._cli import run_from_cli

__all__ = ['annotate', 'tools', 'utils', 'run_from_cli']
__all__ = ['annotate', 'tools', 'utils']
__version__ = '0.0.4'

0 comments on commit e9e05e9

Please sign in to comment.