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
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
2.1k
Amazon Qを使ってIaCを触ろう!
maruto
0
420
Djangoの開発環境で工夫したこと - pre-commit / DevContainer
hiroki_yod
1
250
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
1
120
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
300
subpath importsで始めるモック生活
10tera
0
330
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
1.1k
C++でシェーダを書く
fadis
6
4.1k
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
310
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
160
みんなでプロポーザルを書いてみた
yuriko1211
0
290
Featured
See All Featured
Teambox: Starting and Learning
jrom
133
8.8k
Unsuck your backbone
ammeep
668
57k
Embracing the Ebb and Flow
colly
84
4.5k
Become a Pro
speakerdeck
PRO
25
5k
RailsConf 2023
tenderlove
29
900
Building Flexible Design Systems
yeseniaperezcruz
327
38k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
Automating Front-end Workflow
addyosmani
1366
200k
A Tale of Four Properties
chriscoyier
156
23k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Code Review Best Practice
trishagee
64
17k
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/