Skip to content

Commit f462ebe

Browse files
authored
attempt to remove non-default backend (#28)
1 parent 9e3fe06 commit f462ebe

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

{{cookiecutter.project_slug}}/Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ run: $(VENV)/pyvenv.cfg
5050
{%- endif %}
5151

5252
$(VENV)/pyvenv.cfg: pyproject.toml
53-
# Create our Python 3 virtual environment
54-
python3 -m venv env
53+
python -m venv env
5554
$(VENV_BIN)/python -m pip install -e .[$(INSTALL_EXTRA)]
5655

5756
.PHONY: lint
@@ -90,8 +89,7 @@ doc:
9089

9190
.PHONY: package
9291
package: $(VENV)/pyvenv.cfg
93-
. $(VENV_BIN)/activate && \
94-
python3 -m build
92+
$(VENV_BIN)/python -m build
9593

9694
.PHONY: edit
9795
edit:

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[build-system]
2-
requires = ["flit_core >=3.5,<4"]
3-
build-backend = "flit_core.buildapi"
4-
51
[project]
62
name = "{{ cookiecutter.project_slug }}"
73
dynamic = ["version"]
@@ -43,7 +39,7 @@ lint = [
4339
"interrogate",
4440
{%- endif %}
4541
]
46-
dev = ["{{ cookiecutter.project_slug }}[doc,test,lint]", "twine", "wheel", "build"]
42+
dev = ["{{ cookiecutter.project_slug }}[doc,test,lint]", "twine", "build"]
4743

4844
{% if cookiecutter.entry_point -%}
4945
[project.scripts]
@@ -56,9 +52,6 @@ Documentation = "https://{{ cookiecutter.github_username }}.github.io/{{ cookiec
5652
Issues = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}/issues"
5753
Source = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}"
5854

59-
[tool.flit.module]
60-
name = "{{ cookiecutter.__project_import }}"
61-
6255
[tool.coverage.run]
6356
# don't attempt code coverage for the CLI entrypoints
6457
omit = ["{{ cookiecutter.__project_src_path }}/_cli.py"]

0 commit comments

Comments
 (0)