Permalink
Browse files

Auto-compile ssl in-place as part of pylibs.

  • Loading branch information...
1 parent fcecf8c commit a6202c3f375cdf4891062e6e1da68ef3ade015cf @tav committed May 26, 2010
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.
View
@@ -13,6 +13,7 @@
extensions = [
Extension("simplejson._speedups", ["simplejson/_speedups.c"]),
+ Extension('greenlet', ['greenlet/greenlet.c'], include_dirs=['greenlet'])
]
# ------------------------------------------------------------------------------
@@ -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
)
View
1 ssl

0 comments on commit a6202c3

Please sign in to comment.