From 78a61aa280cca6e28df7733a796e1c8f6f3e1c58 Mon Sep 17 00:00:00 2001 From: jfm Date: Tue, 30 Apr 2024 12:31:34 +0200 Subject: [PATCH] Updated setup --- .gitea/workflows/run.yaml | 2 +- setup.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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"] )