Skip to content

한글 문서(README.rst) 때문에 윈도우 설치시 에러 남니다  #2

Open
@zwolf21

Description

@zwolf21
  1. 작은 원인 때문에 윈도우에서 pip install 설치가 안됩니다.
# setup.py
long_description=read('README.rst'),

cp949 인코딩 에러 뜹니다

read 함수를 이렇게 바꾸고...

def read(file_name, **kwargs):
    with open(os.path.join(os.path.dirname(__file__), file_name), **kwargs) as f:
        return f.read()

명시적으로 utf-8 이라고 지정해 주면 좋을것 같습니다
long_description=read('README.rst', encoding='utf-8'),

  1. example_project 의 requirements.txt에 문법적 에러가 있습니다.
    = -> ==

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions