cheomseongdae / cheomseongdae.github.io

Let's express the operating principles of Apache Spark interestingly and visually. I hope the process is more fun than the result.
https://cheomseongdae.github.io
GNU General Public License v3.0
0 stars 0 forks source link

pip deploy #5

Open becky2sawyer opened 3 years ago

becky2sawyer commented 3 years ago

build

$ python3 -m build
Collecting setuptools>=42
  Downloading setuptools-57.4.0-py3-none-any.whl (819 kB)
     |████████████████████████████████| 819 kB 1.5 MB/s
Collecting wheel
  Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools
Successfully installed setuptools-57.4.0 wheel-0.36.2
WARNING: You are using pip version 21.0.1; however, version 21.1.3 is available.
You should consider upgrading via the '/private/var/folders/zh/ct_flp_x27bby23rvjzj7_q80000gn/T/build-env-aed5vulc/bin/python -m pip install --upgrade pip' command.
running egg_info
creating src/cheomseongdae.egg-info
writing src/cheomseongdae.egg-info/PKG-INFO
writing dependency_links to src/cheomseongdae.egg-info/dependency_links.txt
writing top-level names to src/cheomseongdae.egg-info/top_level.txt
writing manifest file 'src/cheomseongdae.egg-info/SOURCES.txt'
reading manifest file 'src/cheomseongdae.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/cheomseongdae.egg-info/SOURCES.txt'
running sdist
running egg_info
writing src/cheomseongdae.egg-info/PKG-INFO
writing dependency_links to src/cheomseongdae.egg-info/dependency_links.txt
writing top-level names to src/cheomseongdae.egg-info/top_level.txt
reading manifest file 'src/cheomseongdae.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/cheomseongdae.egg-info/SOURCES.txt'
running check
creating cheomseongdae-0.0.1
creating cheomseongdae-0.0.1/src
creating cheomseongdae-0.0.1/src/cheomseongdae
creating cheomseongdae-0.0.1/src/cheomseongdae.egg-info
copying files to cheomseongdae-0.0.1...
copying LICENSE -> cheomseongdae-0.0.1
copying README.md -> cheomseongdae-0.0.1
copying pyproject.toml -> cheomseongdae-0.0.1
copying setup.cfg -> cheomseongdae-0.0.1
copying src/cheomseongdae/__init__.py -> cheomseongdae-0.0.1/src/cheomseongdae
copying src/cheomseongdae/cheomseongdae.py -> cheomseongdae-0.0.1/src/cheomseongdae
copying src/cheomseongdae.egg-info/PKG-INFO -> cheomseongdae-0.0.1/src/cheomseongdae.egg-info
copying src/cheomseongdae.egg-info/SOURCES.txt -> cheomseongdae-0.0.1/src/cheomseongdae.egg-info
copying src/cheomseongdae.egg-info/dependency_links.txt -> cheomseongdae-0.0.1/src/cheomseongdae.egg-info
copying src/cheomseongdae.egg-info/top_level.txt -> cheomseongdae-0.0.1/src/cheomseongdae.egg-info
Writing cheomseongdae-0.0.1/setup.cfg
Creating tar archive
removing 'cheomseongdae-0.0.1' (and everything under it)
Collecting setuptools>=42
  Using cached setuptools-57.4.0-py3-none-any.whl (819 kB)
Collecting wheel
  Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools
Successfully installed setuptools-57.4.0 wheel-0.36.2
WARNING: You are using pip version 21.0.1; however, version 21.1.3 is available.
You should consider upgrading via the '/private/var/folders/zh/ct_flp_x27bby23rvjzj7_q80000gn/T/build-env-cuf5e25a/bin/python -m pip install --upgrade pip' command.
running egg_info
writing src/cheomseongdae.egg-info/PKG-INFO
writing dependency_links to src/cheomseongdae.egg-info/dependency_links.txt
writing top-level names to src/cheomseongdae.egg-info/top_level.txt
reading manifest file 'src/cheomseongdae.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/cheomseongdae.egg-info/SOURCES.txt'
Requirement already satisfied: wheel in /private/var/folders/zh/ct_flp_x27bby23rvjzj7_q80000gn/T/build-env-cuf5e25a/lib/python3.6/site-packages (from -r /var/folders/zh/ct_flp_x27bby23rvjzj7_q80000gn/T/build-reqs-qi778a18.txt (line 1)) (0.36.2)
WARNING: You are using pip version 21.0.1; however, version 21.1.3 is available.
You should consider upgrading via the '/private/var/folders/zh/ct_flp_x27bby23rvjzj7_q80000gn/T/build-env-cuf5e25a/bin/python -m pip install --upgrade pip' command.
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/cheomseongdae
copying src/cheomseongdae/__init__.py -> build/lib/cheomseongdae
copying src/cheomseongdae/cheomseongdae.py -> build/lib/cheomseongdae
installing to build/bdist.macosx-10.14-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.14-x86_64
creating build/bdist.macosx-10.14-x86_64/wheel
creating build/bdist.macosx-10.14-x86_64/wheel/cheomseongdae
copying build/lib/cheomseongdae/__init__.py -> build/bdist.macosx-10.14-x86_64/wheel/cheomseongdae
copying build/lib/cheomseongdae/cheomseongdae.py -> build/bdist.macosx-10.14-x86_64/wheel/cheomseongdae
running install_egg_info
running egg_info
writing src/cheomseongdae.egg-info/PKG-INFO
writing dependency_links to src/cheomseongdae.egg-info/dependency_links.txt
writing top-level names to src/cheomseongdae.egg-info/top_level.txt
reading manifest file 'src/cheomseongdae.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/cheomseongdae.egg-info/SOURCES.txt'
Copying src/cheomseongdae.egg-info to build/bdist.macosx-10.14-x86_64/wheel/cheomseongdae-0.0.1-py3.6.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.macosx-10.14-x86_64/wheel/cheomseongdae-0.0.1.dist-info/WHEEL
creating '/Users/diginori/github/cheomseongdae.github.io/dist/tmpxm6i1te6/cheomseongdae-0.0.1-py3-none-any.whl' and adding 'build/bdist.macosx-10.14-x86_64/wheel' to it
adding 'cheomseongdae/__init__.py'
adding 'cheomseongdae/cheomseongdae.py'
adding 'cheomseongdae-0.0.1.dist-info/LICENSE'
adding 'cheomseongdae-0.0.1.dist-info/METADATA'
adding 'cheomseongdae-0.0.1.dist-info/WHEEL'
adding 'cheomseongdae-0.0.1.dist-info/top_level.txt'
adding 'cheomseongdae-0.0.1.dist-info/RECORD'
removing build/bdist.macosx-10.14-x86_64/wheel

deploy

$ python3 -m twine upload --repository testpypi dist/*
Uploading distributions to https://test.pypi.org/legacy/
Enter your username: pysatellite
Enter your password:
Uploading cheomseongdae-0.0.1-py3-none-any.whl
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 17.3k/17.3k [00:02<00:00, 8.25kB/s]
Uploading cheomseongdae-0.0.1.tar.gz
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 17.1k/17.1k [00:01<00:00, 11.7kB/s]

View at:
https://test.pypi.org/project/cheomseongdae/0.0.1/

-> https://test.pypi.org/project/cheomseongdae/0.0.1/

becky2sawyer commented 3 years ago

install & use

$ pip install -i https://test.pypi.org/simple/ cheomseongdae==0.0.1
Looking in indexes: https://test.pypi.org/simple/
Collecting cheomseongdae==0.0.1
  Downloading https://test-files.pythonhosted.org/packages/91/94/7011e94c64419451db923ef3384be93c9ee35dfefd59decc38e31bfcf183/cheomseongdae-0.0.1-py3-none-any.whl (14 kB)
Installing collected packages: cheomseongdae
Successfully installed cheomseongdae-0.0.1

$ python
Python 3.6.10 (default, Nov 11 2020, 23:32:25)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cheomseongdae
>>> cheomseongdae.
cheomseongdae.Cheomseongdae(  cheomseongdae.cheomseongdae
>>> cheomseongdae.Cheomseongdae().ping()
'pong'
>>>