From c9ac76718963a775dc18e41d898525d6b5f71ce9 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Fri, 21 Aug 2020 14:33:54 +0800 Subject: [PATCH] misc: bump version 0.3.3 --- setup.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/setup.py b/setup.py index 622438c..ba47deb 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,14 @@ -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"] @@ -15,25 +16,24 @@ def readme(): 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, + )], )