Skip to content

Commit

Permalink
ci: declare requirement directly in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxiaohai committed May 13, 2024
1 parent a252df8 commit 6ba6408
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install build
- name: Build package
run: python -m build
Expand Down
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@ def get_version():
url="https://github.com/veraposeidon/labelme2Datasets",
author='veraposeidon',
packages=find_packages(include=['labelme2datasets', 'labelme2datasets.*']),
install_requires=get_install_requires(),
install_requires=[
'beautifulsoup4~=4.12.3',
'imgviz~=1.7.5',
'labelme~=5.4.1',
'progressbar~=2.5',
'scikit-learn~=1.4.2',
'xmltodict~=0.13.0',
'setuptools~=69.5.1',
'pillow~=10.3.0',
'lxml~=5.2.1'
],
entry_points={
'console_scripts': [
'labelme_json2dataset = labelme2datasets.labelme_json2dataset:main',
Expand Down

0 comments on commit 6ba6408

Please sign in to comment.