toto123

toto123


Keywords
toto123
Install
pip install toto123==0.1

Documentation

toto123

파이썬 배포 κ°€λŠ₯ν•œ νŒ¨ν‚€μ§€ λ§Œλ“€κΈ°

History

2022/02/22 λ ˆν¬μ§€νŠΈλ¦¬ λ§Œλ“€κΈ°

절차

    1. κΉƒν—ˆλΈŒ λ ˆν¬μ§€ν† λ¦¬ λ§Œλ“€κΈ°.
    • λ§Œλ“€κΈ° 전에 λ™μΌν•œ 이름이 μ‘΄μž¬ν•  수 μžˆμœΌλ‹ˆ, https://pypi.org/project/ 에 검색후, μ§„ν–‰ν•œλ‹€. λ™μΌν•œ 것이 μžˆμ„λ•Œ, μ—λŸ¬ λ°œμƒ.
    1. μ•„λ‚˜μ½˜λ‹€ ν™˜κ²½ μ„ΈνŒ…
    • conda create -n ccpy python=3.6
    1. Setup.pyλ₯Ό λ§Œλ“€κΈ°
    1. setup.py μ‹€ν–‰
    (toto123) C:\Users\totofriend\Documents\GitHub\toto123>python setup.py bdist_wheel
    
    • 결과적으둜 dist 폴더 생성. 폴더 μ•ˆμ— toto123-0.1-py3-none-any.whlκ°€ 생성.
    1. 배포
    • pip install twine or conda install twine
    • (toto123) C:\Users\totofriend\Documents\GitHub\toto123>twine upload dist/toto123-0.1-py3-none-any.whl
    (toto123) C:\Users\totofriend\Documents\GitHub\toto123>twine upload dist/toto123-0.1-py3-none-any.whl
    Uploading distributions to https://upload.pypi.org/legacy/
    Enter your username:
    
    Enter your username: totofriend
    Enter your password:
    Uploading toto123-0.1-py3-none-any.whl
    100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 4.66k/4.66k [00:01<00:00, 3.83kB/s]
    Error during upload. Retry with the --verbose option for more details.
    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
    User 'totofriend' does not have a verified primary email address. Please add a verified primary email before attempting to upload to PyPI. See https://pypi.org/help/#verified-email for more information.
    
    
    • μ—λŸ¬ λ°œμƒ - 메일 확인 ν›„, 링크 클릭 ν›„, 진행
    Someone, perhaps you, has added this email address (frontier1020@naver.com) to their PyPI account.
    If you wish to proceed with this request, click this link to verify your email address.
    This link will expire in 72 hours.
    If you did not make this request, you can safely ignore this email.
    
    • λ§Œμ•½ 같은 νŒ¨ν‚€μ§€κ°€ μ‘΄μž¬ν•˜μ§€ μ•ŠμœΌλ©΄ 잘 진행됨.
    (toto123) C:\Users\totofriend\Documents\GitHub\toto123>twine upload dist/toto123-0.1-py3-none-any.whl
    Uploading distributions to https://upload.pypi.org/legacy/
    Enter your username: totofriend
    Enter your password:
    Uploading toto123-0.1-py3-none-any.whl
    100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 4.66k/4.66k [00:02<00:00, 1.88kB/s]
    
    View at:
    https://pypi.org/project/toto123/0.1/
    
      • λ§Œμ•½ νŒ¨ν‚€μ§€κ°€ μ‘΄μž¬ν•˜λ©΄ μ—λŸ¬κ°€ λ°œμƒλ˜λ‹ˆ, 이λ₯Ό μœ„ν•΄μ„œλŠ” https://pypi.org/project/ 에 검색 ν›„, ν”„λ‘œμ νŠΈλ₯Ό μ§„ν–‰ν•˜λŠ” 것이 쒋을 λ“―.
    1. μ‹€μ œ μ„€μΉ˜ - colab ν™˜κ²½μ—μ„œ
    • pip install toto123
    Collecting toto123
    Downloading toto123-0.1-py3-none-any.whl (1.1 kB)
    Installing collected packages: toto123
    Successfully installed toto123-0.1
    

setpy.py

from setuptools import setup, find_packages

setup(
    name                = 'toto123',
    version             = '0.1',
    description         = 'toto123',
    author              = 'ldjwj',
    author_email        = 'colabstart@gmail.com',
    url                 = 'https://github.com/LDJWJ/toto123/',
    download_url        = 'https://github.com/LDJWJ/toto123/archive/0.0.tar.gz',
    install_requires    =  [],
    packages            = find_packages(exclude = []),
    keywords            = ['toto123'],
    python_requires     = '>=3',
    package_data        = {},
    zip_safe            = False,
    classifiers         = [
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
)