Skip to content

Commit

Permalink
add wheel support
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberdelia committed Mar 16, 2014
1 parent 5669361 commit e8069c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
@@ -1,6 +1,8 @@
# -*- coding: utf-8 -*-
import io
import os

from setuptools.dist import Distribution
from setuptools import setup, find_packages

try:
Expand All @@ -10,6 +12,10 @@
else:
ext_modules=[ffi.verifier.get_extension()]

class BinaryDistribution(Distribution):
def is_pure(self):
return False

with io.open('README.rst', encoding='utf-8') as f:
readme = f.read()

Expand Down Expand Up @@ -37,4 +43,5 @@
install_requires=['cffi'],
test_suite="tests",
ext_modules=ext_modules,
distclass=BinaryDistribution,
)

0 comments on commit e8069c8

Please sign in to comment.