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
390
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
180
Jak postavit slovník z jedniček a nul
encukou
0
510
Python Packaging in Fedora
encukou
0
360
Python in Fedora
encukou
0
81
Essential Testing Concepts
encukou
0
89
Import Deep Dive
encukou
0
51
Dynamic Time Warping & Synchronizace videí
encukou
0
70
Python 3.4
encukou
0
91
Extending FreeIPA
encukou
0
320
Other Decks in Programming
See All in Programming
飲食業界向けマルチプロダクトを実現させる開発体制とリアルな現状
hiroya0601
1
400
Googleのテストサイズを活用したテスト環境の構築
toms74209200
0
280
Modern Angular: Renovation for Your Applications
manfredsteyer
PRO
0
220
Progressive Web Apps für Desktop und Mobile mit Angular (Hands-on)
christianliebel
PRO
0
110
gopls を改造したら開発生産性が高まった
satorunooshie
8
250
カスタムしながら理解するGraphQL Connection
yanagii
1
1.3k
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
240
Server Driven Compose With Firebase
skydoves
0
410
WEBエンジニア向けAI活用入門
sutetotanuki
0
310
Synchronizationを支える技術
s_shimotori
1
150
Identifying User Idenity
moro
6
8.1k
Pinia Colada が実現するスマートな非同期処理
naokihaba
2
160
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
800
Optimizing for Happiness
mojombo
376
69k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
Measuring & Analyzing Core Web Vitals
bluesmoon
1
43
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Git: the NoSQL Database
bkeepers
PRO
426
64k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Building Your Own Lightsaber
phodgson
102
6.1k
A Philosophy of Restraint
colly
203
16k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
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/