Skip to content

Commit f3a7627

Browse files
committed
change venv directory to 'venv'. remove unnecessary files from build
1 parent 307b9db commit f3a7627

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
/.eggs/
55
/.mxmake/
66
/build/
7+
/venv/
78
/constraints-mxdev.txt
89
/dist/
910
/requirements-mxdev.txt

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ VENV_CREATE?=true
9292
# `VENV_CREATE` is false it is expected to point to an existing virtual
9393
# environment. If `VENV_ENABLED` is `false` it is ignored.
9494
# Default: .venv
95-
VENV_FOLDER?=.venv
95+
VENV_FOLDER?=venv
9696

9797
# mxdev to install in virtual environment.
9898
# Default: mxdev

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ path = "CHANGES.rst"
6363
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
6464
path = "LICENSE.rst"
6565

66+
[tool.hatch.build.targets.sdist]
67+
exclude = [
68+
".travis.yml",
69+
"/.github/",
70+
"/docs",
71+
"/Makefile",
72+
"/mx.ini",
73+
"/package.json",
74+
"/pnpm-lock.yaml",
75+
"/scripts/",
76+
]
77+
6678
[tool.hatch.build.targets.wheel]
6779
packages = ["src/cone"]
6880

0 commit comments

Comments
 (0)