Mercurial > fife-parpg
changeset 382:7ff1394fe271
Adding the distutils setup.py file.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 18 Jan 2010 17:52:56 +0000 |
parents | e00d9af76f0a |
children | 12ca54931880 |
files | setup.py |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setup.py Mon Jan 18 17:52:56 2010 +0000 @@ -0,0 +1,22 @@ +#!/usr/bin/env python + +from distutils.core import setup +import os, sys + +if sys.platform == 'win32': + pkg_data = {'fife': ['*.pyd','*.dll'] } +else: + pkg_data = {'fife': ['*.so'] } + + +setup(name='fife', + version='0.3.0', + description='Flexible Isometric Free Engine', + url='www.fifengine.de', + packages = ['fife', 'fife.extensions', 'fife.extensions.pychan', 'fife.extensions.pychan.widgets', 'fife.extensions.pychan.widgets.ext', 'fife.extensions.serializers' ], + package_dir = { '': os.path.join('engine','python') }, + package_data = pkg_data, + data_files = [(os.path.join('lib','site-packages', 'fife'),['AUTHORS','CHANGES', 'COPYING' ,'README'])], + license = 'GNU Lesser General Public License, version 2.1' + ) +