Commit Graph

284 Commits

Author SHA1 Message Date
Vadim Gelfer
4e8a64a4b7 merge with crew. 2006-05-19 08:57:12 -07:00
Volker Kleinfeld
271afc71fc setup.py: install packagescan before any mercurial modules is imported
Further the installation of packagescan over demandload is moved to the
packagescan module.

I added as well few more comments in the packagescan module to avoid
the wrong use of package scan in the future.

Reason:

mercurial.packagescan acts as fake mercurial.demandload during a py2exe
run.  Unfortunatly the import of mercurial.version in setup.py is done
before mercurial.packagescan is installed. This results in few imports
without mercurial.packagescan in charge and therefore not all dependend
modules are detected when running mercurial.packagescan.getmodules
later e.g.  winerror is missed.
2006-05-19 08:54:28 -07:00
Eric Hopper
0c1117d5be Moving hgweb.py into it's own module in preparation for breaking it up. 2006-05-18 11:48:33 -07:00
Thomas Arendsen Hein
96596c940b Don't forget version at the end of setup.py, write it only if changed.
This fixes issue159: "python setup.py install" shouldn't write new files
in the working dir if one has done "python setup.py build" first.
2006-03-19 21:26:58 +01:00
Thomas Arendsen Hein
13f0f115eb Added check for minimal python version to setup.py 2006-03-10 10:44:17 +01:00
Josef "Jeff" Sipek
4637016376 [hgweb] Static content serving 2006-02-18 21:53:41 -05:00
Thomas Arendsen Hein
0379849a48 Reverted name change (mercurial -> Mercurial) from 52265dbc2f9d. 2006-02-03 10:52:25 +01:00
Vadim Gelfer
65a53c316b make stuff for macos x binary package.
it is now easy to make prebuilt binary for macos x.  i have no hosting
space.  i hope someone else can make binaries.
2006-02-03 00:50:28 -08:00
Will
e788b4b308 fix bug in setup.py introduced in r1508.
The 'console' argument is expected to be a list of strings,
but was changed to just a string.
2005-11-16 20:53:16 +01:00
Benoit Boissinot
5f9d9d98e5 fix a warning when py2exe is not used 2005-11-04 11:37:45 -08:00
Volker Kleinfeld
d90591c00e py2exe is not able to handle win32com.shell
Changes:
- setup.py: help py2exe finding the shell module in win32com.shell
2005-10-24 14:52:41 -07:00
Volker Kleinfeld
9f6716ae98 Option -i broken in py2exe_for_demandload
Using the includes option -i on modified py2exe is
not working.

Change:
- setup.py: convert self.includes to a list.
2005-10-24 14:52:30 -07:00
Bryan O'Sullivan
22ffa3e3ba Fix small thinko. 2005-09-21 15:18:24 -07:00
Bryan O'Sullivan
2f99b73208 Rename mercurial.ext to hgext. 2005-09-21 15:17:24 -07:00
Bryan O'Sullivan
72911456d7 Package the extension directory. 2005-09-21 14:46:01 -07:00
Bryan O'Sullivan
2c727b8f47 Clean up whitespace damage. 2005-09-21 13:33:24 -07:00
Bryan O'Sullivan
574fee4514 Fix Volker's modifications to setup.py for non-Windows systems. 2005-09-20 21:29:07 -07:00
Volker.Kleinfeld@gmx.de
a3b3b5fcc6 Support for the distutils extention 'py2exe' added.
Description:
- If the py2exe distutils extention is installed this patch allows
  building standalone exe for windows - example:
  > python setup.py build --compiler=mingw32 py2exe
- The 'out of the box' py2exe is not able to resolve
  the dependencies due to 'demandload'. A new helper module
  of scanning the mercurial package has been added.

Changed:
- setup.py: importing py2exe and sub classing its command class
  to fetch the build directory and insert the needed includes
- packagescan.py: new helper module added, that scans the distutil
  build directory for modules to be included.
2005-09-20 19:25:14 -07:00
mpm@selenic.com
40aeb3c129 More whitespace cleanups
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

More whitespace cleanups

manifest hash: 6721a7b11295e0127386b080fd7a7b516ebced74
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxwm/ywK+sNU5EO8RAnl+AKCg/7ZCW7zIoG0nefksZzgLzgNmFACgnAFz
ZkW0LyZcU/hkFgXoGwo7ktk=
=AW+0
-----END PGP SIGNATURE-----
2005-07-02 13:40:15 -08:00
mpm@selenic.com
663c3fc4ae Pull from TAH
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pull from TAH

manifest hash: 600d04efbd836d555d11a3bd9d821d1d8c0a9790
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuPFxywK+sNU5EO8RAjfzAKC18Zc2EOkXhy1zcpgGnyPHnFMdmgCfW5Ut
I5HSWqZMt8H0WJx1Or7ajNc=
=27D5
-----END PGP SIGNATURE-----
2005-06-21 21:04:49 -08:00
mpm@selenic.com
2875576bbc Add a fast binary diff extension (not yet used)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add a fast binary diff extension (not yet used)

manifest hash: fbfdcab2b1f4856af45176fcf2423d602dfe88c4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuL6eywK+sNU5EO8RAoT+AJ95z9gx2IrucBS30CnCQFkZT7lSbgCgnXh5
ScZcgwzJ/mEo9i5vuKNlCIs=
=Gr58
-----END PGP SIGNATURE-----
2005-06-21 17:27:58 -08:00
Thomas Arendsen Hein
80cfc46aba Make it possible to specify a version number in setup.py.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Make it possible to specify a version number in setup.py.

manifest hash: 905feb305205801eb3833e5a84161fb57b83c86e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCtc/QW7P1GVgWeRoRAlCaAJ9G2GRf0wIEVEbYNoV4PjV4b024bQCfcUFf
WVYQlTXqninDXyKas2yQYdo=
=ofg/
-----END PGP SIGNATURE-----
2005-06-19 21:04:32 +01:00
Thomas Arendsen Hein
26b86a9abe Support for 'hg --version'. setup.py stores version from hg repository.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Support for 'hg --version'. setup.py stores version from hg repository.

manifest hash: c69058298ea12035f2cf356f987ba2fb5ff4bbae
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCtD6ZW7P1GVgWeRoRAnGHAKCLscthht2UlBEMDmxL9cku4PlcswCffOVo
wTOhYkW4Ie5+8bdmL8EqsvY=
=uGpn
-----END PGP SIGNATURE-----
2005-06-18 16:32:41 +01:00
mpm@selenic.com
63e6cb46d3 Replace tkmerge with hgmerge
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Replace tkmerge with hgmerge

hgmerge attempts to find and use merge, kdiff3, tkmerge, and diff+patch.
hg will use hgmerge unless overridden with HGMERGE

manifest hash: 9137a620df4b235e66343b0fd0dba87fe631546e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCoRGrywK+sNU5EO8RAi2VAJ9bh97ChGJymP/p8rvCuyNAMnk1bQCgrIGP
vYI6qlyWKQZ01ObUTAIg92o=
=+mRH
-----END PGP SIGNATURE-----
2005-06-03 18:27:55 -08:00
mpm@selenic.com
f7ab71848b hgweb: put map-raw in setup.py and MANIFEST.in
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: put map-raw in setup.py and MANIFEST.in

manifest hash: 75f24a191ade74c1cbfafbaaf5fb9b6a4c5da02c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCnlpVywK+sNU5EO8RAoDGAKCsyEhpJGPZjRp4RZD1Q1ijwNGC2wCdGSjL
IGWUxQqqS4W4GJNesvADNVs=
=O3Wg
-----END PGP SIGNATURE-----
2005-06-01 17:01:09 -08:00
mpm@selenic.com
a1cf98772e Bump the version number to 0.5b for the protocol change
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bump the version number to 0.5b for the protocol change

manifest hash: a7930fa15b716eb90613bd761b47c27331ea4b8b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCmz7pywK+sNU5EO8RAt7dAJ4qmUpDRS7/JP/JpLm8uXZ0c+5W/ACfVb0Q
99rjYslSjJfOWYLCKiAzVyU=
=WVVg
-----END PGP SIGNATURE-----
2005-05-30 08:27:21 -08:00
mpm@selenic.com
c83432e669 Mercurial 0.5
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mercurial 0.5

Update version numbers
Fixup MANIFEST.in

manifest hash: 58db9be35685e83133f20e96265d6c434fc106c2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCmOwHywK+sNU5EO8RAq0OAKCkMWzSMzhisTFBmT2WLj2bf+PMqwCbBv+S
jNvqIQsru2JMdCQC2eG7CxU=
=c20j
-----END PGP SIGNATURE-----
2005-05-28 14:09:11 -08:00
mpm@selenic.com
949217673f Install the templates where they can be found by hgweb.py
This ought to use package_data but that doesn't exist in Python 2.3.
So we do a hack of install_data and use glob.

This also adds templatepath() to hgweb.py which finds the templates
relative to hgweb.py's location.
2005-05-25 16:21:06 -08:00
jake@edge2.net
1802614df3 hgweb is no longer a script 2005-05-24 07:33:12 -07:00
mpm@selenic.com
f161c8bdc8 Add an O(m + nlog n) patching extension 2005-05-16 22:08:33 -08:00
mpm@selenic.com
7c6f4b49c8 Add tag support 2005-05-13 13:12:32 -08:00
mpm@selenic.com
b3f6fa6d57 Minor changes for release 0.4e 2005-05-12 01:23:51 -08:00
mpm@selenic.com
cf2b4974c2 Update version numbers 2005-05-04 10:07:28 -08:00
mpm@selenic.com
ca8cb8ba67 Add back links from file revisions to changeset revisions
Add simple transaction support
Add hg verify
Improve caching in revlog
Fix a bunch of bugs
Self-hosting now that the metadata is close to finalized
2005-05-03 13:16:10 -08:00