File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 2020parts /
2121sdist /
2222var /
23+ .idea /
2324* .egg-info /
2425.installed.cfg
2526* .egg
Original file line number Diff line number Diff line change 88if version < ('2' , '7' ):
99 install_requires .append ('ordereddict>=1.1' )
1010
11+ try :
12+ from Cython .Build import cythonize
13+ ext_modules = cythonize ("bencoder.pyx" )
14+ except ImportError :
15+ ext_modules = [Extension ('bencoder' , ['bencoder.c' ])]
16+
17+
1118setup (
1219 name = 'bencoder.pyx' ,
1320 version = '1.1.0' ,
3946 'Programming Language :: Python :: Implementation :: PyPy' ,
4047 'Topic :: Software Development :: Libraries :: Python Modules' ,
4148 ],
42- ext_modules = [ Extension ( 'bencoder' , [ 'bencoder.c' ])] ,
49+ ext_modules = ext_modules ,
4350 install_requires = install_requires ,
4451 tests_require = ['nose' ],
4552 test_suite = 'nose.collector' ,
You can’t perform that action at this time.
0 commit comments