Skip to content

Commit ebb3000

Browse files
committed
Remove redundant code from setup.py
1 parent ca43876 commit ebb3000

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

setup.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,14 @@ def read(*names, **kwargs):
2525
).read()
2626

2727

28-
# Enable code coverage for C code: we can't use CFLAGS=-coverage in tox.ini, since that may mess with compiling
29-
# dependencies (e.g. numpy). Therefore we set SETUPPY_CFLAGS=-coverage in tox.ini and copy it to CFLAGS here (after
30-
# deps have been safely installed).
31-
if 'TOXENV' in os.environ and 'SETUPPY_CFLAGS' in os.environ:
32-
os.environ['CFLAGS'] = os.environ['SETUPPY_CFLAGS']
33-
3428
setup(
3529
name='axelrod-fortran',
3630
version='0.1.0',
3731
license='MIT license',
3832
description='Python wrapper for strategies originally written in Fortran',
3933
long_description='%s\n%s' % (
40-
re.compile('^.. start-badges.*^.. end-badges', re.M | re.S).sub('', read('README.rst')),
34+
re.compile('^.. start-badges.*^.. end-badges', re.M | re.S).sub(
35+
'', read('README.rst')),
4136
re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))
4237
),
4338
author='Owen Campbell, Vincent Knight, Marc Harper',
@@ -49,7 +44,6 @@ def read(*names, **kwargs):
4944
include_package_data=True,
5045
zip_safe=False,
5146
classifiers=[
52-
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
5347
'Development Status :: 5 - Production/Stable',
5448
'Intended Audience :: Developers',
5549
'License :: OSI Approved :: MIT License',
@@ -60,9 +54,6 @@ def read(*names, **kwargs):
6054
'Programming Language :: Python :: Implementation :: CPython',
6155
'Topic :: Utilities',
6256
],
63-
keywords=[
64-
# eg: 'keyword1', 'keyword2', 'keyword3',
65-
],
6657
install_requires=[
6758
'axelrod == 3.1.2',
6859
],

0 commit comments

Comments
 (0)