Skip to content

Commit

Permalink
Add setup.py and other things for PyPI initial 0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
hfaran committed May 2, 2014
1 parent e8603e6 commit 766ea82
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include requirements.txt
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. contents::
:depth: 3
..
progressive
===========

Nested progress bars with blessings
1 change: 1 addition & 0 deletions progressive/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.1.0"
41 changes: 41 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import os
import codecs
from setuptools import setup
import progressive


__DIR__ = os.path.abspath(os.path.dirname(__file__))
def read(filename):
"""Read and return `filename` in root dir of project and return string"""
return codecs.open(os.path.join(__DIR__, filename), 'r').read()


install_requires = read("requirements.txt").split()
long_description = read('README.rst')


setup(
name="progressive",
version=progressive.__version__,
url='https://github.com/hfaran/progressive',
license='MIT License',
author='Hamza Faran',
description=('Terminal progress bars for Python with blessings'),
long_description=long_description,
packages=['progressive'],
install_requires = install_requires,
classifiers=[
"Development Status :: 3 - Alpha",
'Environment :: Console',
'Environment :: Console :: Curses',
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
'Operating System :: POSIX',
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: User Interfaces',
'Topic :: Terminals',
]
)

0 comments on commit 766ea82

Please sign in to comment.