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
380
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
500
Python Packaging in Fedora
encukou
0
350
Python in Fedora
encukou
0
79
Essential Testing Concepts
encukou
0
89
Import Deep Dive
encukou
0
51
Dynamic Time Warping & Synchronizace videí
encukou
0
68
Python 3.4
encukou
0
91
Extending FreeIPA
encukou
0
320
Other Decks in Programming
See All in Programming
2024-10-01 dev2next - Observability for Modern JVM Applications
jonatan_ivanov
0
140
[KR] Server Driven Compose With Firebase
skydoves
2
210
.NET Aspireのクラウド対応検証: Azureと他環境での実践
ymd65536
1
550
Subclassing, Composition, Python, and You
hynek
3
180
自分だけの世界を創るクリエイティブコーディング / Creative Coding: Creating Your Own World
chobishiba
2
1.9k
Memory API: Patterns, Use Cases, and Performance
josepaumard
1
180
tsconfig.jsonの最近の新機能 ファイルパス編
uhyo
7
1.8k
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
740
文化が生産性を作る
jimpei
3
580
Повторное использование кода в ML: почему ML-пайплайны могут помочь?
lamodatech
0
260
Beyond Laravel Octane - Hyperf for Laravel Artisans
albertcht
1
140
Cohesion in Modeling and Design
mploed
3
220
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2.1k
Mobile First: as difficult as doing things right
swwweet
222
8.8k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Designing the Hi-DPI Web
ddemaree
280
34k
Why You Should Never Use an ORM
jnunemaker
PRO
53
9k
How To Stay Up To Date on Web Technology
chriscoyier
787
250k
Adopting Sorbet at Scale
ufuk
73
9k
Writing Fast Ruby
sferik
626
60k
Being A Developer After 40
akosma
84
590k
Testing 201, or: Great Expectations
jmmastey
38
7k
KATA
mclloyd
28
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
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/