Skip to content

Commit 7139fb7

Browse files
committed
make setup.py use all spaces indendation
1 parent 4b1afb9 commit 7139fb7

1 file changed

Lines changed: 32 additions & 32 deletions

File tree

setup.py

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import numpy.distutils.misc_util
66

77
with open("README.md", 'r') as readme:
8-
long_description = readme.read()
8+
long_description = readme.read()
99

1010
current_dir = os.getcwd()
1111
arrow_dir = os.path.join(current_dir, 'arrow')
@@ -22,38 +22,38 @@
2222
ext = '.pyx' if USE_CYTHON else '.c'
2323

2424
cython_extensions = [
25-
Extension('arrow.arrowhead',
26-
sources=['arrow/mersenne.c', 'arrow/obsidian.c', 'arrow/arrowhead'+ext,],
27-
include_dirs=['arrow'] + numpy.distutils.misc_util.get_numpy_include_dirs(),
28-
define_macros=[('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')],
29-
)]
25+
Extension('arrow.arrowhead',
26+
sources=['arrow/mersenne.c', 'arrow/obsidian.c', 'arrow/arrowhead'+ext,],
27+
include_dirs=['arrow'] + numpy.distutils.misc_util.get_numpy_include_dirs(),
28+
define_macros=[('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')],
29+
)]
3030

3131
if USE_CYTHON:
32-
from Cython.Build import cythonize
33-
cython_extensions = cythonize(
34-
cython_extensions,
35-
include_path=['arrow'],
36-
annotate=True, # to get an HTML code listing
37-
)
32+
from Cython.Build import cythonize
33+
cython_extensions = cythonize(
34+
cython_extensions,
35+
include_path=['arrow'],
36+
annotate=True, # to get an HTML code listing
37+
)
3838

3939
setup(
40-
name='stochastic-arrow',
41-
version='0.4.4',
42-
packages=['arrow'],
43-
author='Ryan Spangler, John Mason, Jerry Morrison, Chris Skalnik',
44-
author_email='ryan.spangler@gmail.com',
45-
url='https://github.com/CovertLab/arrow',
46-
license='MIT',
47-
include_dirs=include,
48-
ext_modules=cython_extensions,
49-
long_description=long_description,
50-
long_description_content_type='text/markdown',
51-
requires=['numpy (>=1.14)', 'six'],
52-
classifiers=[
53-
'Development Status :: 3 - Alpha',
54-
'License :: OSI Approved :: MIT License',
55-
'Programming Language :: Python',
56-
'Programming Language :: Python :: 2.7',
57-
'Programming Language :: Python :: 3',
58-
'Topic :: Scientific/Engineering',
59-
])
40+
name='stochastic-arrow',
41+
version='0.4.4',
42+
packages=['arrow'],
43+
author='Ryan Spangler, John Mason, Jerry Morrison, Chris Skalnik',
44+
author_email='ryan.spangler@gmail.com',
45+
url='https://github.com/CovertLab/arrow',
46+
license='MIT',
47+
include_dirs=include,
48+
ext_modules=cython_extensions,
49+
long_description=long_description,
50+
long_description_content_type='text/markdown',
51+
requires=['numpy (>=1.14)', 'six'],
52+
classifiers=[
53+
'Development Status :: 3 - Alpha',
54+
'License :: OSI Approved :: MIT License',
55+
'Programming Language :: Python',
56+
'Programming Language :: Python :: 2.7',
57+
'Programming Language :: Python :: 3',
58+
'Topic :: Scientific/Engineering',
59+
])

0 commit comments

Comments
 (0)