From a23efbfbb7e6ead0ae87a2c3f889ca4a4ef00d4a Mon Sep 17 00:00:00 2001 From: "Dwayne C. Litzenberger" Date: Sat, 22 Oct 2011 13:29:01 -0400 Subject: Bump to v2.4 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 09fbc09..0f1ef01 100644 --- a/setup.py +++ b/setup.py @@ -378,7 +378,7 @@ class TestCommand(Command): self.announce("running extended self-tests") kw = {'name':"pycrypto", - 'version':"2.3", # See also: lib/Crypto/__init__.py + 'version':"2.4", # See also: lib/Crypto/__init__.py 'description':"Cryptographic modules for Python.", 'author':"Dwayne C. Litzenberger", 'author_email':"dlitz@dlitz.net", -- cgit v1.2.1 From 6a62dc30067bd359660d5b586d3337560d2dc0d5 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sat, 29 Oct 2011 18:20:01 +0200 Subject: Run build_configure from build_ext. When installing with easy_install build_ext ist called directly. Thus we have to ensure that build_configure is run before we're building the extensions in build_ext. --- setup.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 0f1ef01..a822938 100644 --- a/setup.py +++ b/setup.py @@ -287,12 +287,17 @@ class PCTBuildExt (build_ext): f.close() return result -class PCTBuild(build): + def run(self): + for cmd_name in self.get_sub_commands(): + self.run_command(cmd_name) + + build_ext.run(self) + def has_configure(self): compiler = new_compiler(compiler=self.compiler) return compiler.compiler_type != 'msvc' - sub_commands = [ ('build_configure', has_configure) ] + build.sub_commands + sub_commands = [ ('build_configure', has_configure) ] + build_ext.sub_commands class PCTBuildConfigure(Command): description = "Generate config.h using ./configure (autoconf)" @@ -384,7 +389,7 @@ kw = {'name':"pycrypto", 'author_email':"dlitz@dlitz.net", 'url':"http://www.pycrypto.org/", - 'cmdclass' : {'build': PCTBuild, 'build_configure': PCTBuildConfigure, 'build_ext':PCTBuildExt, 'build_py': PCTBuildPy, 'test': TestCommand }, + 'cmdclass' : {'build_configure': PCTBuildConfigure, 'build_ext': PCTBuildExt, 'build_py': PCTBuildPy, 'test': TestCommand }, 'packages' : ["Crypto", "Crypto.Hash", "Crypto.Cipher", "Crypto.Util", "Crypto.Random", "Crypto.Random.Fortuna", -- cgit v1.2.1 From 62247ca754657b6ee8370d8fd62c58b8b881f396 Mon Sep 17 00:00:00 2001 From: "Dwayne C. Litzenberger" Date: Fri, 4 Nov 2011 15:17:40 -0400 Subject: Release v2.4.1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index a822938..cda9950 100644 --- a/setup.py +++ b/setup.py @@ -383,7 +383,7 @@ class TestCommand(Command): self.announce("running extended self-tests") kw = {'name':"pycrypto", - 'version':"2.4", # See also: lib/Crypto/__init__.py + 'version':"2.4.1", # See also: lib/Crypto/__init__.py 'description':"Cryptographic modules for Python.", 'author':"Dwayne C. Litzenberger", 'author_email':"dlitz@dlitz.net", -- cgit v1.2.1