-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add setup.py and other things for PyPI initial 0.1.0 release
- Loading branch information
Showing
4 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.. contents:: | ||
:depth: 3 | ||
.. | ||
progressive | ||
=========== | ||
|
||
Nested progress bars with blessings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
] | ||
) |