diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 08c3932..0000000 --- a/setup.cfg +++ /dev/null @@ -1,27 +0,0 @@ -[metadata] -name = streamtracer -provides = streamtracer -description = "Python wrapped fortran to calculate streamlines" -author = David Stansby, Lars Mejnertsen -author_email = dstansby@gmail.com -license = GPL v3 -license_file = LICENSE -platform = any -version=1.0.1 -url=https://github.com/dstansby/streamtracer - -[options] -python_requires = >=3.6 -packages = find: -include_package_data = True -install_requires = - numpy>=1.14.5 - -[options.extras_require] -tests = - pytest - pytest-cov -docs = - sphinx - sphinx-automodapi - sphinx_rtd_theme diff --git a/setup.py b/setup.py index 5c46b5a..d1056b8 100755 --- a/setup.py +++ b/setup.py @@ -15,4 +15,16 @@ ), ] -setup(ext_modules=exts) +if __name__ == "__main__": + setup(name='streamtracer', + version='1.0.0', + description='Python wrapped fortran to calculate streamlines', + url='https://github.com/dstansby/streamtracer', + author='David Stansby, Lars Mejnertsen', + author_email='dstansby@gmail.com', + install_requires=['numpy'], + python_requires='>=3.6', + packages=['streamtracer'], + ext_modules=exts, + include_package_data=True, + )