Skip to content

Commit 5a9310d

Browse files
committed
update enscons build
1 parent bfe21d1 commit 5a9310d

File tree

3 files changed

+4
-26
lines changed

3 files changed

+4
-26
lines changed

.hgignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ syntax: glob
1010
.scons*
1111
.*
1212
cryptacular-*
13+
setup-requires
1314
MANIFEST
1415
PKG-INFO
1516

SConstruct

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ pprint.pprint(enscons.cpyext.no_build_ext.output)
4343
from distutils import dist
4444
from distutils.command.build_ext import build_ext
4545
ext = build_ext(dist.Distribution(dict(name='cryptacular')))
46-
# ext_filename = ext.get_ext_filename('cryptacular.bcrypt._bcrypt')
47-
ext_filename = os.path.join('cryptacular', 'bcrypt', '_bcrypt')
46+
ext_filename = ext.get_ext_filename('cryptacular.bcrypt._bcrypt')
47+
# ext_filename = os.path.join('cryptacular', 'bcrypt', '_bcrypt')
4848

4949
import imp
5050
for (suffix, _, _) in imp.get_suffixes():
@@ -61,6 +61,7 @@ extension = env.SharedLibrary(target=ext_filename,
6161
LIBPREFIX='',
6262
SHLIBSUFFIX=SHLIBSUFFIX,
6363
CPPPATH=['crypt_blowfish-1.2'] + env['CPPPATH'],
64+
CPPFLAGS=['-D__SKIP_GNU'],
6465
parse_flags='-DNO_BF_ASM' + ' -DPy_LIMITED_API=0x03030000' if use_py_limited else '')
6566

6667
# Only *.py is included automatically by setup2toml.

crypt_blowfish-1.2/crypt.h

-24
This file was deleted.

0 commit comments

Comments
 (0)