Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Coding style: top-level

  • Loading branch information...
commit b01903d50463eca6da6f58af8d2192401333d905 1 parent 957a114
@jrioux jrioux authored
Showing with 31 additions and 31 deletions.
  1. +4 −4 build.py
  2. +27 −27 setup.py
View
8 build.py
@@ -40,13 +40,13 @@
)
setup(
- name = "SymPy",
- packages = [
+ name="SymPy",
+ packages=[
"sympy",
"sympy.polys",
],
- cmdclass = {
+ cmdclass={
"build_ext": build_ext
},
- ext_modules = extensions
+ ext_modules=extensions
)
View
54 setup.py
@@ -36,8 +36,8 @@
import sympy
# Make sure I have the right Python version.
-if sys.version_info[:2] < (2,5):
- print("SymPy requires Python 2.5 or newer. Python %d.%d detected" % \
+if sys.version_info[:2] < (2, 5):
+ print("SymPy requires Python 2.5 or newer. Python %d.%d detected" %
sys.version_info[:2])
sys.exit(-1)
@@ -118,8 +118,8 @@ def run(self):
sys.exit(-1)
# We don't want to audit external dependencies
ext = ('mpmath',)
- dirs = (os.path.join(*d) for d in \
- (m.split('.') for m in modules) if d[1] not in ext)
+ dirs = (os.path.join(*d) for d in
+ (m.split('.') for m in modules) if d[1] not in ext)
warns = 0
for dir in dirs:
for filename in os.listdir(dir):
@@ -134,7 +134,7 @@ class clean(Command):
"""
description = "remove build files"
- user_options = [("all","a","the same")]
+ user_options = [("all", "a", "the same")]
def initialize_options(self):
self.all = None
@@ -241,7 +241,7 @@ def run(self):
'sympy.stats.tests',
'sympy.tensor.tests',
'sympy.utilities.tests',
- ]
+]
classifiers = [
'License :: OSI Approved :: BSD License',
@@ -256,7 +256,7 @@ def run(self):
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
- ]
+]
long_description = '''SymPy is a Python library for symbolic mathematics. It aims
to become a full-featured computer algebra system (CAS) while keeping the code
@@ -264,24 +264,24 @@ def run(self):
SymPy is written entirely in Python and does not require any external libraries.'''
setup(
- name = 'sympy',
- version = sympy.__version__,
- description = 'Computer algebra system (CAS) in Python',
- long_description = long_description,
- author = 'SymPy development team',
- author_email = 'sympy@googlegroups.com',
- license = 'BSD',
- keywords = "Math CAS",
- url = 'http://code.google.com/p/sympy',
- packages = ['sympy'] + modules + tests,
- scripts = ['bin/isympy'],
- ext_modules = [],
- package_data = { 'sympy.utilities.mathml' : ['data/*.xsl'] },
- data_files = [('share/man/man1', ['doc/man/isympy.1'])],
- cmdclass = {'test': test_sympy,
- 'bench': run_benchmarks,
- 'clean': clean,
- 'audit' : audit,
+ name='sympy',
+ version=sympy.__version__,
+ description='Computer algebra system (CAS) in Python',
+ long_description=long_description,
+ author='SymPy development team',
+ author_email='sympy@googlegroups.com',
+ license='BSD',
+ keywords="Math CAS",
+ url='http://code.google.com/p/sympy',
+ packages=['sympy'] + modules + tests,
+ scripts=['bin/isympy'],
+ ext_modules=[],
+ package_data={ 'sympy.utilities.mathml': ['data/*.xsl'] },
+ data_files=[('share/man/man1', ['doc/man/isympy.1'])],
+ cmdclass={'test': test_sympy,
+ 'bench': run_benchmarks,
+ 'clean': clean,
+ 'audit': audit,
},
- classifiers = classifiers,
- )
+ classifiers=classifiers,
+)
Please sign in to comment.
Something went wrong with that request. Please try again.