diff --git a/.gitea/workflows/run.yaml b/.gitea/workflows/run.yaml index 69523cd..12e2d92 100644 --- a/.gitea/workflows/run.yaml +++ b/.gitea/workflows/run.yaml @@ -29,7 +29,7 @@ jobs: pipenv run bumpver update --minor - name: Build Package run: | - pipenv requirements > requirements.txt + pipenv requirements --exclude-markers > requirements.txt pipenv run python -m build - name: Publish Package run: | diff --git a/setup.py b/setup.py index bd18526..7df24fa 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,6 @@ from setuptools import find_packages, setup with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() -with open('requirements.txt') as f: - required = f.read().splitlines() - setup( name='pymastodon', version='0.5.0', @@ -21,5 +18,5 @@ setup( license='MIT', package_dir={"": "src"}, packages=find_packages(where="src"), - install_requires=required + install_requires=["loguru", "pydantic", "requests"] )