Mercurial > fife-parpg
annotate setup.py @ 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 | |
children | 81641655bc38 |
rev | line source |
---|---|
382
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
1 #!/usr/bin/env python |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
2 |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
3 from distutils.core import setup |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
4 import os, sys |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
5 |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
6 if sys.platform == 'win32': |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
7 pkg_data = {'fife': ['*.pyd','*.dll'] } |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
8 else: |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
9 pkg_data = {'fife': ['*.so'] } |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
10 |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
11 |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
12 setup(name='fife', |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
13 version='0.3.0', |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
14 description='Flexible Isometric Free Engine', |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
15 url='www.fifengine.de', |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
16 packages = ['fife', 'fife.extensions', 'fife.extensions.pychan', 'fife.extensions.pychan.widgets', 'fife.extensions.pychan.widgets.ext', 'fife.extensions.serializers' ], |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
17 package_dir = { '': os.path.join('engine','python') }, |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
18 package_data = pkg_data, |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
19 data_files = [(os.path.join('lib','site-packages', 'fife'),['AUTHORS','CHANGES', 'COPYING' ,'README'])], |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
20 license = 'GNU Lesser General Public License, version 2.1' |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
21 ) |
7ff1394fe271
Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
22 |