Skip to content

Commit 1e7d988

Browse files
committed
switch to src layout
1 parent 7d0de13 commit 1e7d988

File tree

185 files changed

+58
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+58
-52
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
def parse_version():
1111
from pathlib import Path
1212
import re
13-
init_path = Path(__file__).parent.parent / 'sugar/__init__.py'
13+
init_path = Path(__file__).parent.parent / 'src/sugar/__init__.py'
1414
with open(init_path) as f:
1515
content = f.read()
1616
regex = r"""__version__\s*=\s*['"]([^\s]+)['"]"""

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ build-backend = "setuptools.build_meta"
5656
[tool.setuptools.dynamic]
5757
version = {attr = "sugar.__version__"}
5858

59-
[tool.setuptools.packages.find]
60-
include = ["sugar*"]
61-
6259
[tool.setuptools.package-data]
6360
"sugar.data.data_gcode" = ["*.*"]
6461
"sugar.data.data_submat" = ["*"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)