Skip to content

Commit 35ca30f

Browse files
+ hotfix
1 parent cd5cced commit 35ca30f

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ jobs:
2424

2525
steps:
2626
- name: Build distribution
27-
run: |
28-
python -m pip install -U pip
29-
python -m pip install -U build
30-
python -m build
27+
uses: actions/download-artifact@v3
28+
with:
29+
path: dist/
3130

3231
- name: Publish package distributions to PyPI
3332
uses: pypa/gh-action-pypi-publish@release/v1

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
long_description_content_type = 'text/markdown',
1717
long_description = long_description,
1818

19-
packages = find_packages(),
19+
packages = find_packages(where = 'src'),
20+
package_dir = {'': 'src'},
2021
install_requires = ['numpy==1.26.2'],
2122
keywords = ['python', 'threading', 'multiprocessing'],
2223
classifiers = [
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/test_parallelprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import time
22
import numpy
33
import pytest
4-
from thread import ParallelProcessing, exceptions
4+
from src.thread import ParallelProcessing, exceptions
55

66

77
# >>>>>>>>>> Dummy Functions <<<<<<<<<< #

tests/test_thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import time
22
import pytest
3-
from thread import Thread, exceptions
3+
from src.thread import Thread, exceptions
44

55

66
# >>>>>>>>>> Dummy Functions <<<<<<<<<< #

0 commit comments

Comments
 (0)