Skip to content

Commit 16874b5

Browse files
committed
[#devel] Fixed packaging + added prepublish test file
1 parent 605b901 commit 16874b5

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

datastock/tests/prepublish.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
print('test import datastock')
2+
import datastock as ds
3+
print('import datastock ok')

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ requires = ["setuptools", "setuptools_scm"]
33
build-backend = "setuptools.build_meta"
44

55

6-
[tool.setuptools.packages.find]
7-
where = ["datastock"]
8-
include = ["datastock*"]
9-
namespaces = false
6+
#[tool.setuptools.packages.find]
7+
#where = ["datastock"]
8+
#include = ["datastock*"]
9+
#namespaces = false
10+
11+
[tool.setuptools]
12+
packages = ["datastock", "datastock.tests"]
1013

1114

1215
[tool.setuptools_scm]

0 commit comments

Comments
 (0)