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
420
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
200
Jak postavit slovník z jedniček a nul
encukou
0
540
Python Packaging in Fedora
encukou
0
380
Python in Fedora
encukou
0
84
Essential Testing Concepts
encukou
0
90
Import Deep Dive
encukou
0
54
Dynamic Time Warping & Synchronizace videí
encukou
0
75
Python 3.4
encukou
0
91
Extending FreeIPA
encukou
0
340
Other Decks in Programming
See All in Programming
PHPカンファレンス 2024|共創を加速するための若手の技術挑戦
weddingpark
0
140
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
1k
php-conference-japan-2024
tasuku43
0
430
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
1.4k
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
410
Flatt Security XSS Challenge 解答・解説
flatt_security
0
740
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
300
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
950
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
300
Rubyでつくるパケットキャプチャツール
ydah
0
170
2025.01.17_Sansan × DMM.swift
riofujimon
2
570
Featured
See All Featured
Optimizing for Happiness
mojombo
376
70k
Rails Girls Zürich Keynote
gr2m
94
13k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Embracing the Ebb and Flow
colly
84
4.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
98
18k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Docker and Python
trallard
43
3.2k
Visualization
eitanlees
146
15k
Producing Creativity
orderedlist
PRO
343
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/