-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
import sys | ||
from glob import glob | ||
from setuptools import setup, Extension | ||
|
||
version = '0.3.2' | ||
version = '0.3.3' | ||
|
||
|
||
def readme(): | ||
with open('README.rst') as f: | ||
return f.read() | ||
|
||
|
||
include_dirs = ["include"] | ||
sources = glob("*.pyx") + glob("src/*.c") | ||
libraries = ["dl"] | ||
|
||
setup( | ||
name="greenify", | ||
version=version, | ||
description = "Make C module compatible with gevent at runtime.", | ||
description="Make C module compatible with gevent at runtime.", | ||
long_description=readme(), | ||
platforms=['Linux'], | ||
classifiers=[ | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: POSIX :: Linux', | ||
'Programming Language :: Cython', | ||
'Programming Language :: C', | ||
'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', | ||
'Operating System :: POSIX :: Linux', 'Programming Language :: Cython', 'Programming Language :: C', | ||
'Topic :: Software Development :: Libraries' | ||
], | ||
author="Zhongbo Tian", | ||
author_email="tianzhongbo@douban.com", | ||
url="https://github.com/douban/greenify", | ||
download_url = 'https://github.com/douban/greenify/archive/%s.tar.gz' % version, | ||
download_url='https://github.com/douban/greenify/archive/%s.tar.gz' % version, | ||
setup_requires=['Cython >= 0.18'], | ||
install_requires=['gevent'], | ||
ext_modules=[ | ||
Extension('greenify', sources, include_dirs=include_dirs, | ||
libraries=libraries) | ||
] | ||
ext_modules=[Extension( | ||
'greenify', | ||
sources, | ||
include_dirs=include_dirs, | ||
libraries=libraries, | ||
)], | ||
) |