Log of /branches/WIP-pyshapelib-bramz/setup.py
Parent Directory
|
Revision Log
Revision
2742 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 14 16:26:14 2007 UTC
(17 years, 11 months ago)
by
bramz
File length: 44351 byte(s)
Diff to
previous 2737
,
to
selected 8
pyshapelib: rewritten dbflib to use hand-crafted Python bindings instead of SWIG generated ones.
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
,
to
selected 8
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
,
to
selected 8
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
,
to
selected 8
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
,
to
selected 8
* 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
,
to
selected 8
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
,
to
selected 8
* 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
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
,
to
selected 8
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
,
to
selected 8
* 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
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
,
to
selected 8
(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
,
to
selected 8
* 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
,
to
selected 8
* 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
,
to
selected 8
* 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
,
to
selected 8
* 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
,
to
selected 8
* 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
,
to
selected 8
* 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
,
to
selected 8
* 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.