modernize setup.py

This commit is contained in:
Jan Petykiewicz 2019-08-04 03:06:32 -07:00
parent 3d07969fd2
commit 25cb83089d
2 changed files with 22 additions and 3 deletions

View File

@ -23,3 +23,4 @@ from .vectorization import vec, unvec, field_t, vfield_t
from .grid import dx_lists_t
__author__ = 'Jan Petykiewicz'
version = '0.5'

View File

@ -1,18 +1,36 @@
#!/usr/bin/env python
#!/usr/bin/env python3
from setuptools import setup, find_packages
import fdfd_tools
with open('README.md', 'r') as f:
long_description = f.read()
setup(name='fdfd_tools',
version='0.4',
version=fdfd_tools.version,
description='FDFD Electromagnetic simulation tools',
long_description=long_description,
long_description_content_type='text/markdown',
author='Jan Petykiewicz',
author_email='anewusername@gmail.com',
url='https://mpxd.net/gogs/jan/fdfd_tools',
url='https://mpxd.net/code/jan/fdfd_tools',
packages=find_packages(),
install_requires=[
'numpy',
'scipy',
],
extras_require={
'test': [
'pytest',
'dataclasses',
],
},
classifiers=[
'Programming Language :: Python :: 3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Topic :: Scientific/Engineering :: Physics',
],
)