Skip to content

Commit

Permalink
Fix setup.py to not use package for metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyespo committed Dec 3, 2012
1 parent 2f486d0 commit 7e0e65b
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 29 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Grip Changelog
==============

Version 0.2.1 (2012-12-02)
--------------------------

- Issue #5: Fixed the installer to work in the case where
the requirements are not already installed.


Version 0.2 (2012-12-01)
--------------------------

Expand Down
24 changes: 1 addition & 23 deletions grip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,11 @@
Render local readme files before sending off to Github.
Grip is easy to set up
``````````````````````
::
$ pip install grip
$ cd myproject
$ grip
* Running on http://localhost:5000/
Links
`````
* `Website <http://github.com/joeyespo/grip/>`_
:copyright: (c) 2012 by Joe Esposito.
:license: MIT, see LICENSE for more details.
"""

__title__ = 'grip'
__version__ = '0.2'
__author__ = 'Joe Esposito'
__description__ = '\n\n'.join(__doc__.split('\n\n')[1:]).split('\n\n\n')[0]
__copyright__ = 'Copyright 2012 Joe Esposito'
__license__ = 'MIT'
__version__ = '0.2.1'


from . import command
Expand Down
40 changes: 34 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
"""\
Grip
----
Render local readme files before sending off to Github.
Grip is easy to set up
``````````````````````
::
$ pip install grip
$ cd myproject
$ grip
* Running on http://localhost:5000/
Links
`````
* `Website <http://github.com/joeyespo/grip>`_
"""

__version__ = '0.2.1'
__description__ = '\n\n'.join(__doc__.split('\n\n')[1:]).split('\n\n\n')[0]


import os
from setuptools import setup, find_packages
import grip as package


def read(fname):
Expand All @@ -9,17 +37,17 @@ def read(fname):


setup(
name=package.__name__,
version=package.__version__,
description=package.__description__,
long_description=package.__doc__,
name='grip',
version=__version__,
description=__description__,
long_description=__doc__,
author='Joe Esposito',
author_email='joe@joeyespo.com',
url='http://github.com/joeyespo/grip',
license='MIT',
platforms='any',
packages=find_packages(),
package_data={package.__name__: ['LICENSE', 'static/*', 'templates/*']},
package_data={'': ['LICENSE'], 'grip': ['static/*', 'templates/*']},
include_package_data=True,
install_requires=read('requirements.txt'),
zip_safe=False,
Expand Down

0 comments on commit 7e0e65b

Please sign in to comment.