Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Jak zveřejnit knihovnu
Search
Petr Viktorin
October 25, 2012
Programming
1
400
Jak zveřejnit knihovnu
Jak dostat open-source do světa. Přednáška pro říjnové PyVo 2012.
Petr Viktorin
October 25, 2012
Tweet
Share
More Decks by Petr Viktorin
See All by Petr Viktorin
Komunitní kurzy
encukou
0
190
Jak postavit slovník z jedniček a nul
encukou
0
520
Python Packaging in Fedora
encukou
0
360
Python in Fedora
encukou
0
82
Essential Testing Concepts
encukou
0
89
Import Deep Dive
encukou
0
54
Dynamic Time Warping & Synchronizace videí
encukou
0
71
Python 3.4
encukou
0
91
Extending FreeIPA
encukou
0
330
Other Decks in Programming
See All in Programming
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
180
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
Jakarta EE meets AI
ivargrimstad
0
180
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
1.9k
初めてDefinitelyTypedにPRを出した話
syumai
0
410
受け取る人から提供する人になるということ
little_rubyist
0
230
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Rails Girls Zürich Keynote
gr2m
94
13k
Navigating Team Friction
lara
183
14k
Visualization
eitanlees
145
15k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
A Tale of Four Properties
chriscoyier
156
23k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
96
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
GraphQLとの向き合い方2022年版
quramy
43
13k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Code Reviewing Like a Champion
maltzj
520
39k
Transcript
Jak zveřejnit knihovnu Petr Viktorin
[email protected]
PyVo, 2012-10-25
Licence BSD? MIT? GPL?
Git & Github
Git & Github nebo jinde?
Struktura projektu LICENSE
Struktura projektu LICENSE README
Struktura projektu LICENSE README CHANGELOG
Struktura projektu LICENSE README CHANGELOG setup.py
Struktura projektu LICENSE README CHANGELOG setup.py mojeknihovna / __init__.py
Struktura projektu LICENSE README CHANGELOG setup.py mojeknihovna / __init__.py tests
/
Struktura projektu LICENSE README CHANGELOG setup.py mojeknihovna / __init__.py tests
/ doc /
Struktura projektu LICENSE README CHANGELOG setup.py mojeknihovna / __init__.py tests
/ doc / bin /
setup.py from setuptools import setup , find_packages setup ( name=
' Moje knihovna ' , version= ' 0.0.1 ' , author= ' Já První ' , author_email= ' ja@example .com ' , scripts =[ ' bin / necodelej ' ] , url = ' http : / / github .com/ ja / mojeknihovna / ' , license = 'MIT ' , description = ' Moje první knihovna . ' , install_requires =[ " docopt >= 0.5.0 " , ] , packages=find_packages ( ) , long_description=open ( 'README ' ) . read ( ) , c l a s s i f i e r s =[... ] , )
Trove Classifiers http://pypi.python.org/pypi?: action=list_classifiers Natural Language :: Czech License ::
OSI Approved :: MIT License Programming Language :: Python :: 3
Nestačí? http://packages.python.org/ distribute/setuptools.html
Na PyPI s tím! http://pypi.python.org/pypi $ python setup.py sdist $
python setup.py register $ python setup.py upload
A je to! pip install mojeknihovna
Verzování 0.3.7
Verzování 0.3.7
Verzování 0.3.7
Dokumentace Sphinx readthedocs.org
Propagace
Propagace Blogy
Propagace Blogy Twittery
Propagace Blogy Twittery Géplusy
Propagace Blogy Twittery Géplusy Xichtobichle
Propagace Blogy Twittery Géplusy Xichtobichle Přednášky
Propagace Blogy Twittery Géplusy Xichtobichle Přednášky Workshopy
Propagace Blogy Twittery Géplusy Xichtobichle Přednášky Workshopy ...
? Petr Viktorin @encukou
[email protected]
github.com/encukou Licence slajdů & videa:
Creative Commons Attribution-ShareAlike 3.0 http://creativecommons.org/licenses/by-sa/3.0/
Zdroje & odkazy http://as.ynchrono.us/2007/12/ filesystem-structure-of-python-project_21.html http://packages.python.org/distribute/setuptools.html http://guide.python-distribute.org/creation.html http://pypi.python.org/pypi http://semver.org/ http://sphinx.pocoo.org/
https://readthedocs.org/