Source

heightfield / setup.py

import os
from setuptools import setup, find_packages

# Load long_description from README.rst
readme = os.path.join(os.path.dirname(__file__), 'README')
long_description = open(readme, 'rU').read().decode('utf8')

# Construct version string
from heightfield import __version__
version = '.'.join([str(component) for component in __version__])

setup(
    name='heightfield',
    version=version,
    packages=find_packages(),
    package_data={
        'heightfield': ['data/*.png'],
    },
    description=u"Generate random maps by particle deposition",
    long_description=long_description,
    author='Daniel Pope / Reading Python Dojo',
    author_email='lord.mauve@gmail.com',
    url='https://bitbucket.org/lordmauve/heightfield',
    install_requires=[
        'PIL>=1.1.6',
        'numpy>=1.5.1'
    ],
    extras_require = {
        'pygameviewer': ['pygame>=1.9']
    },
    license='LGPL',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
        'Operating System :: OS Independent',
        'Topic :: Multimedia :: Graphics',
    ],
    entry_points={
        'console_scripts': [
            'heightfield = heightfield.main:main',
            'mapbuilder = heightfield.main:visible_deposition [pygameviewer]',
        ]
    }
)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.