annotate setup.py @ 658:9fba00d9cdd5

Updated .iss installer script for the upcoming win32 devkit update
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 31 Oct 2010 13:16:16 +0000
parents 16ceb3228324
children b0733d998d0f
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
396
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
2 # -*- coding: utf-8 -*-
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
3
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
4 # ####################################################################
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
5 # Copyright (C) 2005-2009 by the FIFE team
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
6 # http://www.fifengine.de
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
7 # This file is part of FIFE.
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
8 #
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
9 # FIFE is free software; you can redistribute it and/or
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
10 # modify it under the terms of the GNU Lesser General Public
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
11 # License as published by the Free Software Foundation; either
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
12 # version 2.1 of the License, or (at your option) any later version.
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
13 #
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
14 # This library is distributed in the hope that it will be useful,
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
17 # Lesser General Public License for more details.
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
18 #
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
19 # You should have received a copy of the GNU Lesser General Public
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
20 # License along with this library; if not, write to the
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
21 # Free Software Foundation, Inc.,
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
22 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
23 # ####################################################################
81641655bc38 Adding the correct header in a lot of files. Also made a small change to the CHANGES file by adding the 0.3.1 section.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 382
diff changeset
24
382
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
25
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
26 from distutils.core import setup
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
27 import os, sys
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
28
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
29 if sys.platform == 'win32':
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
30 pkg_data = {'fife': ['*.pyd','*.dll'] }
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
31 else:
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
32 pkg_data = {'fife': ['*.so'] }
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
33
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
34
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
35 setup(name='fife',
443
ff36b24354c7 Fixed some version strings.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 396
diff changeset
36 version='0.3.1',
382
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
37 description='Flexible Isometric Free Engine',
492
16ceb3228324 Moved the SoundManager and the 2D math function (helpers) from the shooter demo to the fife extensions.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 443
diff changeset
38 url='www.fifengine.net',
382
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
39 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
40 package_dir = { '': os.path.join('engine','python') },
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
41 package_data = pkg_data,
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
42 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
43 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
44 )
7ff1394fe271 Adding the distutils setup.py file.
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff changeset
45