티스토리 뷰
https://github.com/developer0hye/YOLOX-Backbone
GitHub - developer0hye/YOLOX-Backbone: yolox_backbone is a deep-learning library and is a collection of YOLOX Backbone models.
yolox_backbone is a deep-learning library and is a collection of YOLOX Backbone models. - GitHub - developer0hye/YOLOX-Backbone: yolox_backbone is a deep-learning library and is a collection of YOL...
github.com
위는 최근에 배포한 패키지 프로젝트이다. 해당 패키지를 배포하면서 겪었던 문제들이 있다.
1. README.md 에서 유효하지 않은 문자가 발견됐다며 PyPI에 업로드가 안되는 문제가 있었다.
정확한 에러는 따로 기록을 안해놨다 ㅜ 에러를 재현하긴 귀찮다.
하여튼 해결방법은 setup.py 에서 setuptools 패키지의 setup 함수의 인자로 long_description_content_type 이 마크다운(markdown) 임을 명시해주는 것이였다.
setuptools.setup(
name="yolox_backbone",
version=version,
license='Apache',
python_requires=">=3.6",
author="Yonghye Kwon",
author_email="developer.0hye@gmail.com",
description="yolox_backbone is a deep-learning library and is a collection of YOLOX Backbone models.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/developer0hye/YOLOX-Backbone",
packages=setuptools.find_packages(),
zip_safe=False,
keywords=['yolox'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent"
],
)
2. 몇몇 python 파일(*.py)들이 PyPI에 업로드 되지 않는 문제점이 있었다. 패키지에 코드가 있는 폴더는 모두 __init__.py 를 만들어주고 관련 함수, 클래스들을 import 시켜주니 해결됐다.
'Python' 카테고리의 다른 글
Static member variable in Python (0) | 2021.12.29 |
---|---|
[Python] multiprocessing 실제 적용 사례 image-knocker (0) | 2021.09.08 |
[Python] yaml 파일 읽기 (0) | 2021.07.09 |
[Python] 파일명 확장자 변경 (0) | 2021.02.05 |
[NumPy] Frequency Counts Unique Integer Values (0) | 2021.01.29 |
- Total
- Today
- Yesterday
- 파이참
- 자료구조
- cosine
- 문제집
- 백트래킹
- 백준 1766
- 가장 긴 증가하는 부분 수열
- PyCharm
- FairMOT
- 조합
- 백준 11053
- C++ Deploy
- 이분탐색
- 백준 11437
- ㅂ
- MOT
- 순열
- 인공지능을 위한 선형대수
- 단축키
- LCA
- 위상 정렬 알고리즘
- 백준
- Lowest Common Ancestor
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |