Skip to content

Commit 7745025

Browse files
authored
Merge pull request #130 from lucasimi/develop
Develop
2 parents 7a295f4 + cb8c84c commit 7745025

File tree

3 files changed

+12
-35
lines changed

3 files changed

+12
-35
lines changed

.github/workflows/deploy-test.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@ jobs:
2121
python -m pip install -e .
2222
- name: Build package
2323
run: |
24-
python -m build
24+
python -m build --sdist --wheel
2525
python -m twine check dist/*
26+
- name: Upload package to TestPyPI
27+
run: |
28+
python -m twine upload -r testpypi dist/* --verbose
29+
env:
30+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME_TEST }}
31+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD_TEST }}
2632
- name: Upload package to PyPI
2733
run: |
2834
python -m twine upload -r pypi dist/* --verbose

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
setup(
77
ext_modules=cythonize([
88
Extension(
9-
"tdamapper.utils._metrics",
10-
["src/tdamapper/utils/_metrics.pyx"])
11-
]))
9+
name="tdamapper.utils._metrics",
10+
sources=["src/tdamapper/utils/_metrics.pyx"],
11+
),
12+
])
13+
)

0 commit comments

Comments
 (0)