python: update setup.py

This commit is contained in:
Tatsuhiro Tsujikawa 2012-08-23 03:37:26 +09:00
parent 6fd77f6c5f
commit 424dc2cc9d
1 changed files with 17 additions and 5 deletions

View File

@ -1,12 +1,24 @@
from distutils.core import setup from distutils.core import setup
from distutils.extension import Extension from distutils.extension import Extension
spdylay_dir = '../'
setup( setup(
name = 'python-spdylay',
version = '0.1.0',
description = 'SPDY library',
author = 'Tatsuhiro Tsujikawa',
author_email = 'tatsuhiro.t@gmail.com',
url = 'http://spdylay.sourceforge.net/',
keywords = [],
ext_modules = [Extension("spdylay", ext_modules = [Extension("spdylay",
["spdylay.c"], ["spdylay.c"],
include_dirs=[spdylay_dir + 'lib/includes'], libraries=['spdylay'])],
library_dirs=[spdylay_dir + 'lib/.libs'], classifiers = [
libraries=['spdylay'])] 'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules'
]
) )