Skip to content

Commit

Permalink
Merge pull request #18 from byuccl/fix_twine
Browse files Browse the repository at this point in the history
fix packaging
  • Loading branch information
jgoeders authored Feb 12, 2024
2 parents 4cb8709 + dcc5b03 commit 0c8c25e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Environment
run: make env

- name: Pypi credentials
run: |
echo "[pypi]" > ~/.pypirc
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
IN_ENV = if [ -e .venv/bin/activate ]; then . .venv/bin/activate; fi;
IN_ENV = .venv/bin/activate;

package:
package: .venv/bin/activate
$(IN_ENV) python setup.py sdist
$(IN_ENV) twine upload dist/*

test:
test: .venv/bin/activate
$(IN_ENV) pip install .
$(IN_ENV) cd test && python3 -m unittest
$(IN_ENV) pip uninstall -y yinstruments
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
black==24.1.1
black==24.1.1
twine

0 comments on commit 0c8c25e

Please sign in to comment.