modernize setup.py
This commit is contained in:
parent
3d07969fd2
commit
25cb83089d
@ -23,3 +23,4 @@ from .vectorization import vec, unvec, field_t, vfield_t
|
|||||||
from .grid import dx_lists_t
|
from .grid import dx_lists_t
|
||||||
|
|
||||||
__author__ = 'Jan Petykiewicz'
|
__author__ = 'Jan Petykiewicz'
|
||||||
|
version = '0.5'
|
||||||
|
24
setup.py
24
setup.py
@ -1,18 +1,36 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
import fdfd_tools
|
||||||
|
|
||||||
|
with open('README.md', 'r') as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
setup(name='fdfd_tools',
|
setup(name='fdfd_tools',
|
||||||
version='0.4',
|
version=fdfd_tools.version,
|
||||||
description='FDFD Electromagnetic simulation tools',
|
description='FDFD Electromagnetic simulation tools',
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
author='Jan Petykiewicz',
|
author='Jan Petykiewicz',
|
||||||
author_email='anewusername@gmail.com',
|
author_email='anewusername@gmail.com',
|
||||||
url='https://mpxd.net/gogs/jan/fdfd_tools',
|
url='https://mpxd.net/code/jan/fdfd_tools',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'numpy',
|
'numpy',
|
||||||
'scipy',
|
'scipy',
|
||||||
],
|
],
|
||||||
extras_require={
|
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',
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user