Skip to content
This repository has been archived by the owner on Sep 17, 2018. It is now read-only.

Commit

Permalink
Auto-compile ssl in-place as part of pylibs.
Browse files Browse the repository at this point in the history
  • Loading branch information
tav committed May 26, 2010
1 parent fcecf8c commit a6202c3
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 6 additions & 3 deletions setup.py
Expand Up @@ -13,6 +13,7 @@

extensions = [
Extension("simplejson._speedups", ["simplejson/_speedups.c"]),
Extension('greenlet', ['greenlet/greenlet.c'], include_dirs=['greenlet'])
]

# ------------------------------------------------------------------------------
Expand All @@ -29,10 +30,12 @@
ext_modules=extensions,
)

pycrypto_path = join_path(dirname(realpath(__file__)), 'pycrypto')
pylibs_path = dirname(realpath(__file__))

ssl_path = join_path(pylibs_path, 'ssl')

run_command(
[sys.executable, join_path(pycrypto_path, 'setup.py'), 'build_ext', '-i'],
exit_on_error=True, cwd=join_path(pycrypto_path), redirect_stdout=False,
[sys.executable, join_path(ssl_path, 'setup.py'), 'build_ext', '-i'],
exit_on_error=True, cwd=join_path(ssl_path), redirect_stdout=False,
redirect_stderr=False
)
1 change: 1 addition & 0 deletions ssl

0 comments on commit a6202c3

Please sign in to comment.