More Related Content
PDF
Javascriptを書きたくないヒ トのためのPythonScript PDF
PDF
久しぶりのPythonでgoogleのアレを制御してみた PPTX
PDF
「Python言語」はじめの一歩 / First step of Python PDF
今年使ってみて良かった、Pythonモジュール、パッケージ、ツール PDF
PPTX
What's hot
KEY
Windowsにpythonをインストールしてみよう PDF
PPTX
組合せ最適化を体系的に知ってPythonで実行してみよう PyCon 2015 PDF
「Python言語」はじめの一歩 / First step of Python / 2016 Jan 12 PPTX
PDF
Python × Herokuで作る 雑談slack bot PDF
PDF
PDF
PPTX
PDF
PDF
PDF
PDF
PPTX
PDF
PDF
scikit-learnを用いた機械学習チュートリアル PDF
PPT
Python twitterとtkinterのことはじめ Similar to パッケージングの今と未来
PDF
PYTHON PACKAGING (PyFes 2012.03 発表資料) PDF
PDF
パッケージングを支える技術 pyconjp2016 PDF
みんなのPython勉強会#77 パッケージングしよう PDF
Distutil setuptools distribute PDF
Python パッケージの影響を歴史から理解してみよう! PDF
パッケージングの呼び声 Python Charity Talks in Japan 2021.02 More from Atsushi Odagiri
PDF
async/await の向こう側 PyCon Kyushu 2022 PDF
eggとはなんだったのか 栄光のsetuptools PDF
pyconjp 2019 LT 今日のsetuptools PDF
Pythonでの開発を効率的に進めるためのツール設定 PDF
PDF
PDF
PPTX
PDF
PDF
PDF
PDF
Pyconjp2012 memory-of-europython PDF
What makes pyramid unique PDF
PDF
PDF
PDF
PDF
PDF
PDF
パッケージングの今と未来
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
メタデータ
(hello) $ pythonsetup.py egg_info
(hello) $ cat hello.egg-info/PKG-INFO
(hello) $ cat hello.egg-info/entry_points.txt
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
リリース
$ hg commit
$hg tag hello-0.1 # egg name
$ hg push --new-branch
https://bitbucket.org/aodag/python-
hello/get/hello-0.1.zip
- 23.
- 24.
- 25.
- 26.
- 27.
- 28.
- 29.
- 30.
- 31.
- 32.
- 33.
- 34.
- 35.
- 36.
未来を感じてみよう
Python3.3は入ってますよね?
$ mkdir hello33;cd hello33
$ pyvenv env
$ . env/bin/activate
(hello33) $ wget https://bitbucket.
org/pypa/setuptools/downloads/ez_setup.py
(hello33) $ wget https://raw.github.
com/pypa/pip/master/contrib/get-pip.py
- 37.
Don't think FEEL
$pip install -U setuptools==0.8
$ pip install -U https://github.
com/pypa/pip/archive/1.4rc2.tar.gz
$ pip install wheel
準備完了
- 38.
wheeling!
C拡張あり
$ pip wheelPillow
$ ls wheelhouse
Pillow-2.1.0-cp33-cp33m-linux_x86_64.whl
C拡張なし
$ pip wheel webob
$ ls wheelhouse
WebOb-1.2.3-py33-none-any.whl
- 39.
use it!
インストールして使う
$ pipinstall wheelhouse/WebOb-1.2.3-py33-
none-any.whl
マウントして使う
import distlib.wheel
distlib.wheel.Wheel('wheelhouse/Pillow-2.1.0-
cp33-cp33m-linux_x86_64.whl')
import PIL
- 40.
- 41.
- 42.