Log of /branches/WIP-pyshapelib-bramz/setup.py
Parent Directory
|
Revision Log
Revision
2737 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 13 22:55:33 2007 UTC
(17 years, 11 months ago)
by
dpinte
File length: 44435 byte(s)
Diff to
previous 2734
2007-03-12 Didrik Pinte <dpinte@itae.be>
* setup.py : updated in order to use the new pyshapelib C module in place
of the old SWIG one
Revision
2711 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 10 10:30:54 2006 UTC
(18 years, 4 months ago)
by
dpinte
Original Path:
trunk/thuban/setup.py
File length: 44441 byte(s)
Diff to
previous 2651
2006-10-10 Didrik Pinte <dpinte@itae.be>
Win32 build updates
* setup.py :
- update to the latest libs for win32 setup tasks
- added gdal and Lib content to the inno setup build task
- added stable and experimental extensions to setup packages
* thuban.py :
- gdal support for win32 inno installation
Revision
2590 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 5 17:26:58 2005 UTC
(19 years, 11 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 43314 byte(s)
Diff to
previous 2572
Use wxPython.h by default but provide a workaround when it isn't
available.
* setup.py (wxproj_extension): New variable. Assign the Extension
instance for Lib.wxproj to this variable instead of putting it
directly into the listso that it can be accessed by other code
later.
(thuban_build_ext.user_options): Added boolean option
--use-wx-python-swig-hack.
(thuban_build_ext.initialize_options): Initialize the new option
to False.
(thuban_build_ext.finalize_options): If the new option was given,
define the preprocesser macro USE_WX_PYTHON_SWIG_HACK.
(thuban_build_ext): Update the doc-string
* libraries/thuban/wxproj.cpp: Normally we use
wx/wxPython/wxPython.h now. Only if USE_WX_PYTHON_SWIG_HACK is
defined, use swigPtrConvertHack.h instead.
* libraries/thuban/swigPtrConvertHack.h: Remove the code that was
copied over from wxPython.h.
(decode_pointer_new): New. Equivalent of decode_pointer for
wxPython 2.5.
(wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well.
Revision
2562 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 16 21:14:47 2005 UTC
(20 years ago)
by
jonathan
Original Path:
trunk/thuban/setup.py
File length: 42187 byte(s)
Diff to
previous 2537
Further wxPython 2.5 changes using patches from Daniel Calvelo Aros
so that that wxproj doesn't crash. Added GUI support for selecting
alpha channel (opacity can't be selected yet).
Revision
2478 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 17 18:48:49 2004 UTC
(20 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 42176 byte(s)
Diff to
previous 2212
* Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
instead of getlocale because getlocale doesn't return a usable
encoding name on a german windows 2000
* setup.py: windows build: Removed the absolute path names and
made all prfixes relative to the directory containing setup.py.
Makes it a little easier to adapt to a different system.
Revision
2212 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon May 17 15:47:57 2004 UTC
(20 years, 9 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 42146 byte(s)
Diff to
previous 2036
Update to newest shapelib and get rid of Thuban specific extensions,
i.e. use the new DBFUpdateHeader instead of our DBFCommit kludge
* libraries/shapelib/shpopen.c: Update to version from current
shapelib CVS.
* libraries/shapelib/shapefil.h: Update to version from current
shapelib CVS.
* libraries/shapelib/dbfopen.c: Update to version from current
shapelib CVS.
(DBFCommit): Effectively removed since shapelib itself has
DBFUpdateHeader now which is better for what DBFCommit wanted to
achieve.
We're now using an unmodified version of dbfopen.
* libraries/pyshapelib/dbflib_wrap.c, libraries/pyshapelib/dbflib.py:
Update from dbflib.i
* libraries/pyshapelib/dbflib.i (DBFInfo_commit): New. Implementation of
the commit method. This new indirection is necessary because we use the
DBFUpdateHeader function now which is not available in shapelib <=
1.2.10
(DBFFile::commit): Use DBFInfo_commit as implementation
(pragma __class__): New. Kludge to remove the commit method when
the DBFUpdateHeader function isn't available
(_have_commit): New. Helper for the pragma kludge.
* libraries/pyshapelib/setup.py (dbf_macros): New. Return the
preprocessor macros needed to compile the dbflib wrapper. Determine
whether DBFUpdateHeader is available and define the right value of
HAVE_UPDATE_HEADER
(extensions): Use dbf_macros for the dbflibc extension
* setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
value '1' to the Lib.dbflibc extension. This simply reflects the
shapelib and pyshapelib updates
Revision
2036 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 22 17:49:43 2003 UTC
(21 years, 2 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 42065 byte(s)
Diff to
previous 2024
* setup.py (setup call): 1.0.0, yeah!
* Thuban/version.py (longversion): 1.0.0, yeah!
* Thuban/Model/load.py (SessionLoader.__init__): Accept the
1.0.0 namespace too
* Thuban/Model/save.py (SessionSaver.write_session): Save with
1.0.0 namespace
* test/test_load.py (LoadSessionTest.dtd)
(TestSingleLayer.file_contents)
(TestNonAsciiColumnName.file_contents)
(TestLayerVisibility.file_contents)
(TestClassification.file_contents, TestLabels.file_contents)
(TestLayerProjection.file_contents)
(TestRasterLayer.file_contents, TestJoinedTable.file_contents)
(TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
(TestPostGISLayerPassword.file_contents)
(TestLoadError.file_contents, TestLoadError.test): Update for
1.0.0 namespace
* test/test_save.py (SaveSessionTest.dtd)
(SaveSessionTest.testEmptySession)
(SaveSessionTest.testSingleLayer)
(SaveSessionTest.testLayerProjection)
(SaveSessionTest.testRasterLayer)
(SaveSessionTest.testClassifiedLayer)
(SaveSessionTest.test_dbf_table)
(SaveSessionTest.test_joined_table)
(SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
Revision
2024 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 5 16:45:19 2003 UTC
(21 years, 3 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 42066 byte(s)
Diff to
previous 2007
* MANIFEST.in: Add the devtools directory
* setup.py (setup call): Use license instead of licence. This
silences a deprecation warning on Python 2.3
Revision
2007 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 2 18:03:39 2003 UTC
(21 years, 3 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 42066 byte(s)
Diff to
previous 2002
(setup call): Add packages for the Extensions so that
they're installed too
(data_files): Add READMEs and sample data from some Extensions
Revision
1291 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 23 13:05:32 2003 UTC
(21 years, 8 months ago)
by
jonathan
Original Path:
trunk/thuban/setup.py
File length: 41337 byte(s)
Diff to
previous 1238
Don't include Locale resources yet as we don't
have any and it causes problems building the distribution
for Windows. Update version to 0.8.0.
Revision
1229 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 18 14:46:30 2003 UTC
(21 years, 8 months ago)
by
jonathan
Original Path:
trunk/thuban/setup.py
File length: 41334 byte(s)
Diff to
previous 928
Use a list instead of seperate variables for
extension parameters so we can create a generic function
that runs an appropriate *-config script.
(run_cs_script): Renamed from run_wx_script and modified
to accept a second argument which is a list of lists to
be filled in by the values returned from running the command.
(thuban_build_ext): New. Extends the build_ext command and
provides the options --with-gdal/--without-gdal which then
optionally includes the gdalwarp extension.
Revision
671 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 15 18:09:47 2003 UTC
(21 years, 10 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 38461 byte(s)
Diff to
previous 555
* Thuban/__init__.py (_): Implement the translation function for
real using the python gettext module.
* Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't
translate empty strings.
* Thuban/UI/application.py (ThubanApplication.read_startup_files):
Add a missing space to a warning message
* po/README: New. Notes about the management of the translation
files.
* po/Makefile: New. Makefile to help manage the translation files.
* po/es.po: New. Spanish translation by Daniel Calvelo Aros
* MANIFEST.in: Include the *.mo files in Resources/Locale and the
translations and support files in po/
* setup.py (data_files): Add the *.mo files to the data_files too
* README: Add note about the translations when building from CVS
Revision
533 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 14 16:18:48 2003 UTC
(21 years, 11 months ago)
by
jonathan
Original Path:
trunk/thuban/setup.py
File length: 37679 byte(s)
Diff to
previous 532
Fixed directory problem when creating a installation with Inno Setup by
defining the install_lib and install_data paths.
Revision
452 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 4 11:31:04 2003 UTC
(22 years ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 37546 byte(s)
Diff to
previous 348
(thuban_build_py.build): Add a comment about distutils in
Python 2.3 containing some of the functionality we implement in
setup.py ourselves.
Revision
253 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 14 13:38:45 2002 UTC
(22 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 37344 byte(s)
Diff to
previous 212
(InstallLocal.initialize_options)
(InstallLocal.finalize_options, InstallLocal.user_options): New
option create-init-file to build a thubaninit.py when running
install_local
(InstallLocal.run): Create the thubaninit.py module when requested
(thubaninit_contents): Split the template into several parts and
create a new function thubaninit_contents that creates the
contents of a thubaninit module.
(ThubanInstall.run): Use the new function to create the thubaninit
module.
Revision
212 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 10 14:06:09 2002 UTC
(22 years, 7 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 35981 byte(s)
Diff to
previous 209
* setup.py (create_init_module): New configurable variable whose
default depends on the platform we're running on.
(ThubanInstall.initialize_options): Initialize
self.create_init_module from the global create_init_module
(ThubanInstall.user_options): indictate that the options
create-init-module and init-module-dir have arguments.
* setup.py: In the setup call change the version number to include
cvs.
Revision
204 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 9 14:02:27 2002 UTC
(22 years, 8 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 35262 byte(s)
Diff to
previous 203
* setup.py: Create a file in python's site-packages directory to
make installation of Thuban as a library easier.
(ThubanInstall.user_options): Add two new options,
create-init-module and init-module-dir
(ThubanInstall.expand_with_pure_python_dirs): New method to expand
filenames for installation in the default directories.
(ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend
the inherited methods to capture some filenames before they're
transformed too much by distutils.
(ThubanInstall.run): Create the init module if requested.
(ThubanInstall.thuban_init_filename): New method to return the
full name of the init module.
(ThubanInstall.get_outputs): Append the filename of the init
module.
Revision
203 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 8 15:04:57 2002 UTC
(22 years, 8 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 31508 byte(s)
Diff to
previous 200
* setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to
handle the prefix properly which means that the default for the
installation prefix should be /usr for RPMs and /usr/local when
doing a normal source install.
(bdist_rpm_install_script): Script to override the default install
commands in the specfile generated by the bdist_rpm command.
(thuban_bdist_rpm.user_options): Add a prefix option
(thuban_bdist_rpm.initialize_options): Init the prefix option.
Create the script files for the spec files as empty files here
(thuban_bdist_rpm._make_spec_file): Override the inherited method
to fill the script files with content.
Revision
97 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 11 09:53:02 2002 UTC
(22 years, 10 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 30040 byte(s)
Diff to
previous 90
* setup.py (Lib.wxproj extension): Don't link shpopen.c and put
the pyshapelib directoy into the list of include dirs, so that
pyshapelib_api.h can be found.
Revision
54 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 11 11:45:09 2001 UTC
(23 years, 5 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 24735 byte(s)
Diff to
previous 19
* setup.py (InnoIconItem): fix typo
(thuban_bdist_inno.run):
(bdist_inno.run): Move the decision not to create symlinks on
non-nt platforms to thuban_bdist_inno and do it unconditinally
since we never want to create the symlinks here
Revision
19 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 4 15:11:27 2001 UTC
(23 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 24723 byte(s)
Diff to
previous 18
* MANIFEST.in: Add extensions/pyprojection/LICENSE
* setup.py (thuban_bdist_rpm): New class implementing a Thuban
specific bdist_rpm command.
* Thuban/UI/main.py: Catch ImportError exceptions when importing
the locale module because it may not be available on some
installations.
* extensions/pyprojection/LICENSE: Copy of the license text in
Projection.i. Having it in a separate file makes it easier to
refer to license text in e.g. RPMs
* setup.py: use wx-config instead of wxgtk-config because it's
more generic
* setup.py (ThubanInstall.get_outputs): Add the symlink in
<prefix>/bin to the outputs
(ThubanInstall.link_file): New method to link files. We need this
because the standard copy_files refuses to link non-existing
files.
(ThubanInstall.run): Remove the leading install root from the
script filename if an install root was specified and use the new
link_file method
Revision
18 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 3 16:25:09 2001 UTC
(23 years, 6 months ago)
by
bh
Original Path:
trunk/thuban/setup.py
File length: 23111 byte(s)
Diff to
previous 15
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
the window when the first layer is added to the map.
* setup.py (ThubanInstall.run): Honor the build root (self.root)
when linking thuban.py to <prefix>/bin
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.