Skip to content

Commit

Permalink
fix: setup requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
hassaku63 committed Sep 7, 2024
1 parent 4e0f7b1 commit d659267
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include VERSION
include requirements.txt
include requirements-dev.txt
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-r requirements.txt
flake8~=6.1.0
tox~=4.11.0
httpretty~=1.1.0
Expand Down
17 changes: 8 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@
with open(path.join(here, 'VERSION'), encoding='utf-8') as f:
version = f.read().strip()

with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
install_requires = f.read().splitlines()

with open(path.join(here, 'requirements-dev.txt'), encoding='utf-8') as f:
tests_require = f.read().splitlines()

setup(
name='python-backlog',
version=version,
install_requires=[
'requests~=2.31.0',
],
install_requires=install_requires,
description='Backlog API v2 wrapper',
long_description=long_description,
long_description_content_type='text/markdown',
Expand All @@ -38,12 +42,7 @@
scripts=[],
packages=find_packages(exclude=['tests*']),
python_requires=">=3.8",
tests_require=[
"flake8~=6.1.0",
"tox~=4.11.0",
"httpretty~=1.1.0",
"coverage~=7.3.0",
],
tests_require=install_requires + tests_require,
project_urls={
'Source': 'https://github.com/hassaku63/pbl',
}
Expand Down

0 comments on commit d659267

Please sign in to comment.