Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building an open source Python application, the...

Kiran
October 26, 2013

Building an open source Python application, the right way

Overview of conventions/best practices to follow when writing an open source Python application

Kiran

October 26, 2013
Tweet

More Decks by Kiran

Other Decks in Technology

Transcript

  1. Hi.

  2. HTML EPUB PDF Man Pages LaTex Automatic Syntax Highlighting Plain

    Text Theming Support Internationalisation
  3. Why ? Test with different Python versions No unnecessary namespace

    pollution Different environments and settings per project Install dependencies inside environment
  4. setup( name='project name', version=myapp.__version__, description='project description here', license=open("LICENSE").read(), author='author', author_email='email',

    url='project url', packages=['myapp'], include_package_data=True, classifiers=( 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', ), test_suite='tests', )