diff --git a/setup.py b/setup.py index 0f5bef0..5b3af03 100644 --- a/setup.py +++ b/setup.py @@ -1,67 +1,78 @@ from setuptools import setup, find_packages, find_namespace_packages + def readme(): with open('README.md') as f: return f.read() + # https://docs.python.org/3/distutils/setupscript.html#meta-data class svirl_metadata(): name = 'svirl' version = '1.0' # Format: major.minor.build.revision - description = '''GPU accelerated time-dependent Ginzburg-Landau solver''' + description = 'GPU accelerated Ginzburg-Landau equations solver' long_description = readme() provides = [] - requires = ["python>=3.0", - "pycuda", - "numpy", - "scipy" - "matplotlib", - ] + requires = [ + 'python>=3.0', + 'pycuda>=2018.1', + 'numpy>=1.15', + 'scipy>=1.1', + 'matplotlib>=3.0', + 'PIL>=1.1.6', + 'cmocean>=1.2', + ] - maintainer = 'Ivan Sadovskyy, Shriram Jagannathan' - maintainer_email = 'abc@email.com' + maintainer = 'Shriram Jagannathan, Ivan Sadovskyy' + maintainer_email = 'svirl@outlook.com' url = 'https://github.com/microsoft/svirl' license = 'MIT' - # this is a required input - packages = find_namespace_packages(include=["svirl*"]) + # This is a required input + packages = find_namespace_packages(include=['svirl*']) # https://pypi.org/classifiers/ classifiers = [ - 'Topic :: Scientific/Engineering', - 'Topic :: Scientific/Engineering :: Physics', - 'Topic :: Scientific/Engineering :: Mathematics', - 'Intended Audience :: Science/Research', - 'Intended Audience :: Developers', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - ] + 'Topic :: Scientific/Engineering', + 'Topic :: Scientific/Engineering :: Physics', + 'Topic :: Scientific/Engineering :: Mathematics', + # 'Topic :: Software Development', + 'Intended Audience :: Science/Research', + # 'Intended Audience :: Developers', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', + ] - keywords = ['Time Dependent Ginzburg-Landau equations', - 'Non-linear Conjugate Gradient method', - 'Numerical Optimization', - 'Non-linear PDE', - 'CUDA', - 'GPU', - 'Superconductivity', - 'Scientific Computing', - 'Computational Science', - ] + keywords = [ + 'Superconductivity', + 'Vortex dynamics', + 'Ginzburg-Landau equations', + 'GL equations' + 'Time-dependent Ginzburg-Landau', + 'TDGL', + 'GL free energy minimization' + 'Non-linear conjugate gradient method', + 'Scientific computing', + 'Non-linear PDE', + 'GPU', + 'CUDA', + ] svirl = svirl_metadata() -#https://setuptools.readthedocs.io/en/latest/setuptools.html#developer-s-guide +# https://setuptools.readthedocs.io/en/latest/setuptools.html#developer-s-guide setup( - name = svirl.name, - version = svirl.version, - description = svirl.description, - license = svirl.license, - packages = svirl.packages, - include_package_data = True, - - zip_safe = False, - ) + name = svirl.name, + version = svirl.version, + description = svirl.description, + license = svirl.license, + packages = svirl.packages, + maintainer = svirl.maintainer, + maintainer_email = svirl.maintainer_email, + include_package_data = True, + zip_safe = False, +)