Permalink
Browse files

clean up setup.py, share requirements with requrements.txt

  • Loading branch information...
1 parent 95fd294 commit d9e22d6ed1ad7664c0bd09894abf20e54564739f @dcrosta committed Dec 28, 2011
Showing with 28 additions and 21 deletions.
  1. 0 README.md
  2. +1 −2 requirements.txt
  3. +27 −19 setup.py
View
No changes.
View
@@ -1,6 +1,5 @@
-http://www.florian-diesch.de/software/apesmit/dist/apesmit-0.01.tar.gz
cMarkdown
-flask
+Flask
mongoengine
py-bcrypt
pygments
View
@@ -1,41 +1,49 @@
-from os.path import dirname, join
-from setuptools import setup, find_packages
+"""
+Plog
+====
+
+A single-user blog using Flask, Mongoengine, and MongoDB.
+
+
+Installation
+------------
+
+Install the latest version with ``pip``:
-README = file(join(dirname(__file__), 'README.md')).read()
+.. code-block:: bash
-# use pip install -r requirements.txt instead
-requires = [
- 'cMarkdown',
- 'flask',
- 'mongoengine',
- 'py-bcrypt',
- 'pygments',
- 'pytz',
-]
+ $ pip install plog
+
+Or, for the adventurous:
+
+.. code-block:: bash
+
+ $ pip install https://github.com/dcrosta/plog/tarball/master#egg=plog-dev
+"""
+from setuptools import setup, find_packages
setup(
name='plog',
- version='0.1',
+ version='0.2',
url='https://github.com/dcrosta/plog',
license='BSD',
author='Dan Crosta',
author_email='dcrosta@late.am',
description='Single-user blog using Flask, Mongoengine, and MongoDB',
- long_description=README,
+ long_description=__doc__,
packages=find_packages(),
- test_suite='tests',
zip_safe=False,
- platforms='any',
- install_requires=requires,
- tests_require=requires,
+ install_requires=[
+ line.strip() for line in open('requirements.txt')
+ if not line.strip().startswith('#')
+ ],
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
- 'Topic :: Software Development :: Libraries :: Python Modules'
],
entry_points={
'pygments.lexers': [

0 comments on commit d9e22d6

Please sign in to comment.