Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 코딩
- 스트림셋이란?
- mysql on docker
- c
- 정보처리기사
- 앤서블 설치
- streamsets 강의
- docker
- mysql docker
- python
- elk stack
- 도커 elk
- 푸시푸시
- nvidia docker
- 데이트
- C언어
- MySQL
- 백준
- java
- ansible install
- 알고리즘
- c++
- 데이터베이스
- 자바
- 파이썬
- 도커
- 스트림셋
- 도커 시작하기
- 도커 mysql
- 클라우드
Archives
- Today
- Total
리그캣의 개발놀이터
[pypi] pip upload "HTTPError: 400 Client Error: The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information. for url: https://upload.pypi.org/legacy/" error 본문
프로그래밍 언어/Python
[pypi] pip upload "HTTPError: 400 Client Error: The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information. for url: https://upload.pypi.org/legacy/" error
리그캣 2020. 1. 27. 23:34"HTTPError: 400 Client Error: The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information. for url: https://upload.pypi.org/legacy/
" 와 같은 에러가 났다.
PyPI로 패키지 배포하기:내가 만든 모듈도 pip로 다운받을 수 있다!
pypi에 내 프로젝트를 올리는 법
blessingdev.wordpress.com
위의 내용을 참고하여 pypi를 통해 pip module을 업로드하고 있었다.
알아보니 setup.py에서 문제가 있었고 아래 내용처럼 수정하였다. (굵은글씨 참고)
example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import setuptools
long_description = fh.read()
name="shholiday",
version="0.0.1",
license='MIT',
author="league3236",
author_email="league3236@gmail.com",
description="Check if the current date is a holiday in Korea.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
python_requires='>=3.6',
)
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
|
http://colorscripter.com/info#e" target="_blank" style="text-decoration:none;color:white">cs |
long_description_content_type이 설정이 안되어있엇나부다
이로인해 업로드시 문제가없었다. 다행이다...
'프로그래밍 언어 > Python' 카테고리의 다른 글
[python / python3] 오늘 요일 출력 (0) | 2020.01.28 |
---|---|
[python / python3] 휴일 / 공휴일 여부 확인 (2) | 2020.01.28 |
[Python] Jupyter Notebook python import 시키는 법 (0) | 2019.08.30 |
[Python] 리스트의 값참조하기 (변수의 값참조) (0) | 2019.03.11 |
[Pycharm] Pycharm에서 pip 대신 module 설치 방법 (0) | 2019.02.16 |
Comments