diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 2bbb0c0..fd0ca23 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: "3.10" - name: Install dependencies run: | python -m pip install --upgrade pip @@ -27,4 +27,4 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python setup.py sdist bdist_wheel - twine upload dist/* + twine upload dist/* \ No newline at end of file diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 3f975bb..cc6e203 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -41,6 +41,7 @@ jobs: run: | echo 'local_data_path:' > hydro_setting.yml echo ' datasets-origin: /home/runner/.cache/' >> hydro_setting.yml + sudo cp hydro_setting.yml /home/runner/hydro_setting.yml # Add other settings here as required - name: PKG-TEST run: | diff --git a/setup.py b/setup.py index d0664ef..4d5fb58 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ """ Author: Wenyu Ouyang Date: 2023-10-28 09:16:46 -LastEditTime: 2024-03-28 11:20:44 +LastEditTime: 2024-03-28 12:07:42 LastEditors: Wenyu Ouyang Description: The setup script FilePath: \hydromodel\setup.py @@ -36,14 +36,12 @@ setup( author="Wenyu Ouyang", author_email="wenyuouyang@outlook.com", - python_requires=">=3.9", + python_requires=">=3.10", classifiers=[ "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", ], @@ -65,7 +63,7 @@ setup_requires=setup_requirements, test_suite="tests", tests_require=test_requirements, - url="https://github.com/iHeadWater/hydromodel", + url="https://github.com/OuyangWenyu/hydromodel", version='0.2.1', zip_safe=False, )