setup.py | setup.py | |||
---|---|---|---|---|
skipping to change at line 15 | skipping to change at line 15 | |||
# Please report bugs. | # Please report bugs. | |||
# Run this script to leverage the power of `distutils` to install or build. | # Run this script to leverage the power of `distutils` to install or build. | |||
# Doc : | # Doc : | |||
# - https://docs.python.org/2/install/index.html | # - https://docs.python.org/2/install/index.html | |||
# - https://docs.python.org/2/distutils/setupscript.html | # - https://docs.python.org/2/distutils/setupscript.html | |||
import io | import io | |||
from os import path | from os import path | |||
#@fixme for 3.12 3.13 | ||||
from setuptools import setup, find_packages | from setuptools import setup, find_packages | |||
#extends setup class to clean dirs | #extends setup class to clean dirs | |||
def clean_actions(): | def clean_actions(): | |||
import shutil, glob | import shutil, glob | |||
#shutil.rmtree('dist') | #shutil.rmtree('dist') | |||
for dir in ['src/*.egg-info', '*.egg-info', '.eggs', 'build/bdist.*', ' build/lib*']: | for dir in ['src/*.egg-info', '*.egg-info', '.eggs', 'build/bdist.*', ' build/lib*']: | |||
g = glob.glob(dir) | g = glob.glob(dir) | |||
if len(g)>0: | if len(g)>0: | |||
[shutil.rmtree(a, ignore_errors=True) for a in g] | [shutil.rmtree(a, ignore_errors=True) for a in g] | |||
skipping to change at line 51 | skipping to change at line 52 | |||
author='Nicolas Bouché', | author='Nicolas Bouché', | |||
author_email='nicolas.bouche@univ-lyon1.fr', | author_email='nicolas.bouche@univ-lyon1.fr', | |||
long_description = long_description, | long_description = long_description, | |||
long_description_content_type='text/markdown', | long_description_content_type='text/markdown', | |||
url='http://galpak3d.univ-lyon1.fr', | url='http://galpak3d.univ-lyon1.fr', | |||
license='GPL', | license='GPL', | |||
description='A tool to extract the intrinsic (i.e. deconvolved) Galaxy ' | description='A tool to extract the intrinsic (i.e. deconvolved) Galaxy ' | |||
'Parameters and Kinematics from any 3-Dimensional data.', | 'Parameters and Kinematics from any 3-Dimensional data.', | |||
packages=find_packages('src', ), | packages=find_packages('src', ), | |||
package_dir ={'': 'src'}, | package_dir ={'': 'src'}, | |||
python_requires='>=3.5', | python_requires='>=3.7', | |||
install_requires=['astropy>=2.0', 'numpy>=1.14', 'scipy', 'matplotlib>= | install_requires=['astropy>=6.0', 'numpy>=1.14', 'scipy', 'matplotlib>= | |||
2.0'], | 3.0'], | |||
) | ) | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |