"""
    Flask-Scrypt
    ------------

    Flask-Scrypt flask extension provides scrypt password hashing and
    random salt generation.

    Links
    `````
    * `development version <https://github.com/grobins2/flask-scrypt>`_
"""
from setuptools import setup, find_packages


setup(name='Flask-Scrypt',
        description='Flask extention to generate scrypt password hashes\
                and random salts',
        version='0.1',
        url='http://github.com/grobins2/flask-scrypt',
        packages=find_packages(),
        license='MIT',
        author='Gilbert(Nick) Robinson',
        author_email='grobins2@gmail.com',
        long_description=__doc__,
        py_modules=['flask_scrypt'],
        platforms='any',
        install_requires=['Flask'],
        classifiers=[
            'Development Status :: 4 - Beta',
            'Environment :: Web Environment',
            'Intended Audience :: Developers',
            'Lisense :: OSI Approved :: MIT License',
            'Operating System :: OS Independent',
            'Programming Language :: Python',
            'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
            'Topic :: Software Development :: Libraries :: Python Modules'
            ])

@@ -227,16 +227,26 @@
 %3E%60_%0A%22%22%22%0A
+import os%0A
 from set
@@ -269,158 +269,368 @@
 etup
-, find_packages%0A%0A%0Asetup(name='Flask-Scrypt',%0A        description='Flask extention to generate scrypt password hashes%5C%0A                and random salts
+%0A%0AMODULE_PATH = os.path.join(os.path.dirname(__file__), 'flask_scrypt.py')%0AVERSION_LINE = %5Bf for f in open(MODULE_PATH).readlines() %0A        if '__version_info__' in f%5D%5B0%5D%0A%0A__version__ = '.'.join(eval(VERSION_LINE.split('__version_info__ = ')%5B-1%5D))%0A%0A%0Asetup(name='Flask-Scrypt',%0A        description='Random salt generation and Scrypt password hashing for Flask.
 ',%0A 
@@ -648,13 +648,19 @@
 ion=
-'0.1'
+__version__
 ,%0A  
@@ -716,42 +716,8 @@
 t',%0A
-        packages=find_packages(),%0A
     
@@ -762,14 +762,8 @@
 bert
-(Nick)
  Rob
@@ -942,16 +942,26 @@
 %5B'Flask'
+, 'scrypt'
 %5D,%0A     

update for pypi upload