Setting up requirements
Build and Release / run-terraform (push) Failing after 30s Details

This commit is contained in:
jfm 2024-04-30 11:25:03 +02:00
parent bf8971a5de
commit 1b4031be65
3 changed files with 7 additions and 14 deletions

View File

@ -28,7 +28,9 @@ jobs:
git config --global user.email 'gitea@gitea.moerks.dk' git config --global user.email 'gitea@gitea.moerks.dk'
pipenv run bumpver update --minor pipenv run bumpver update --minor
- name: Build Package - name: Build Package
run: pipenv run python -m build run: |
pipenv requirements > requirements.txt
pipenv run python -m build
- name: Publish Package - name: Publish Package
run: | run: |
export TWINE_USERNAME=${{ secrets.TWINE_USER }} export TWINE_USERNAME=${{ secrets.TWINE_USER }}

View File

@ -1,13 +0,0 @@
-i https://pypi.org/simple
annotated-types==0.6.0 ; python_version >= '3.8'
certifi==2024.2.2 ; python_version >= '3.6'
charset-normalizer==3.3.2 ; python_full_version >= '3.7.0'
idna==3.7 ; python_version >= '3.5'
loguru==0.7.2
oauthlib==3.2.2 ; python_version >= '3.6'
pydantic==2.7.1
pydantic-core==2.18.2 ; python_version >= '3.8'
requests==2.31.0
requests-oauthlib==2.0.0
typing-extensions==4.11.0 ; python_version >= '3.8'
urllib3==2.2.1 ; python_version >= '3.8'

View File

@ -3,6 +3,9 @@ from setuptools import find_packages, setup
with open("README.md", "r", encoding="utf-8") as fh: with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read() long_description = fh.read()
with open('requirements.txt') as f:
required = f.read().splitlines()
setup( setup(
name='pymastodon', name='pymastodon',
version='0.4.0', version='0.4.0',
@ -18,4 +21,5 @@ setup(
license='MIT', license='MIT',
package_dir={"": "src"}, package_dir={"": "src"},
packages=find_packages(where="src"), packages=find_packages(where="src"),
install_requires=required
) )