pypi 패키지 배포 테스트 6
This commit is contained in:
jung-geun
2023-09-04 15:16:35 +09:00
parent 9fd9020da2
commit f32433d935
2 changed files with 9 additions and 8 deletions

View File

@@ -28,11 +28,11 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install build pip install setuptools wheel twine
- name: Build package - name: Build and publish
run: python -m build env:
- name: Publish package TWINE_USERNAME: __token__
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
with: run: |
user: __token__ python setup.py bdist_wheel sdist
password: ${{ secrets.PYPI_TOKEN }} twine upload dist/*.whl dist/*.tar.gz

View File

@@ -17,6 +17,7 @@ setup(
"pandas", "pandas",
"ipython", "ipython",
"tensorflow<=2.11.1", "tensorflow<=2.11.1",
"keras"
], ],
packages=find_packages(exclude=[]), packages=find_packages(exclude=[]),
keywords=["pso", "tensorflow", "keras"], keywords=["pso", "tensorflow", "keras"],