Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix the build

  • Loading branch information...
commit f4550fcdd18e72eecbc954956cccea72216cd4e4 1 parent c4f78e3
Alvaro Saurin authored
Showing with 12 additions and 10 deletions.
  1. +1 −1  Makefile
  2. +5 −2 setup.py
  3. +6 −7 setup_libuv.py
View
2  Makefile
@@ -18,7 +18,7 @@ build: setup.py setup_libuv.py $(LIBUV_DIR)/Makefile
@echo ">>> Building up..."
$(PYTHON) setup.py build
-$(LIBUV_DIR)/Makefile: checkout-submodule
+#$(LIBUV_DIR)/Makefile: checkout-submodule
checkout-submodule:
@echo ">>> Checking out submodules..."
View
7 setup.py
@@ -8,12 +8,15 @@
from setup_libuv import libuv_build_ext, libuv_sdist, libuv_extension
-from evy import __version__
from os import path
+
+## note: do not import anything from evy or it will try to build the CFFI stuff...
+
+
setup(
name = 'evy',
- version = __version__,
+ version = '0.1',
description = 'Highly concurrent networking library for Pypy',
author = 'Alvaro Saurin',
author_email = 'alvaro.saurin@gmail.com',
View
13 setup_libuv.py
@@ -1,19 +1,18 @@
#!/usr/bin/env python
-"""gevent build & installation script"""
+
+
+
import sys
import os
-import platform
-from os.path import join, abspath, basename, dirname
-from glob import glob
try:
from setuptools import Extension, setup
except ImportError:
from distutils.core import Extension, setup
-from distutils.command.build_ext import build_ext
-from distutils.command.sdist import sdist as _sdist
-from distutils.errors import CCompilerError, DistutilsExecError, DistutilsPlatformError
+from distutils.command.build_ext import build_ext
+from distutils.command.sdist import sdist as _sdist
+from distutils.errors import CCompilerError, DistutilsExecError, DistutilsPlatformError
ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError, IOError)
Please sign in to comment.
Something went wrong with that request. Please try again.