Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-cedricyoung committed Aug 23, 2024
1 parent 4cedcda commit a21bef6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 52 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,13 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: change package name for test.pypi.org since we don't have 'cucu'
run: |
sed -i "s|name = \"cucu\"|name = \"cucu-test\"|g" pyproject.toml
- name: build package
- name: Install depedencies
run: |
pip install poetry
poetry install --no-ansi
poetry build -vvv
# - name: build package
# run: |
# python -m pip install poetry
# poetry install --no-ansi
# poetry add build
# poetry run python build -n
- name: build package
run: |
poetry build
- name: publish to test.pypi.org
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
38 changes: 1 addition & 37 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ include = [
{ path = "CHANGELOG.md", format = "sdist" },
{ path = "LICENSE", format = "sdist" },
]
packages = [ # here since we had to change the name on test.pypi.org
{ include = "cucu", from = "src" },
]

[tool.poetry.scripts]
cucu = "cucu.cli:main"
Expand Down Expand Up @@ -61,7 +58,6 @@ tabulate = "^0.9.0"
tenacity = "^9.0.0"
mpire = "^2.10.2"
psutil = "^6.0.0"
build = "^1.2.1"

[tool.poetry.group.dev.dependencies]
bandit = "^1.7.7"
Expand Down

0 comments on commit a21bef6

Please sign in to comment.