Create metapackage
akaszynski opened this issue · comments
- Update our
setup.py
to become a metapackage. This package is guaranteed to work with a certain release of Ansys, (e.g. 2023R1).
"""Metapackage for pyansys packages."""
import sys
import os
from io import open as io_open
from setuptools import setup
# Get version from version info: execute file from raw string
__version__ = None
this_file = os.path.dirname(__file__)
version_file = os.path.join(this_file, 'pyansys', '_version.py')
with io_open(version_file, mode='r') as fd:
exec(fd.read())
setup(
name='pyansys',
packages=['pyansys'],
author='Ansys',
maintainer_email='pyansys.maintainers@ansys.com',
version=__version__,
description='Pythonic interfaces to Ansys products',
long_description=open('README.rst').read(),
long_description_content_type='text/x-rst',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Information Analysis',
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: MacOS',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
url='https://github.com/pyansys',
keywords='Ansys PyAnsys',
install_requires=[
'ansys-mapdl-core==0.62.4',
'ansys-fluent-core==0.1.4',
'ansys-dpf-core==0.1.4',
'pyaedt==0.6.0',
],
extras_require={
'all': ['ansys-fluent-visualization==0.1.4', 'ansys-mapdl-reader==0.20.0'],
'fluent': ['ansys-fluent-visualization==0.1.4'],
'mapdl': ['ansys-mapdl-reader==0.20.0'],
},
)
- Setup CI/CD. Validate the packages can all be installed and imported. Test with the
pip pyansys[all]
case as well as just thepip install pyansys
. Create the PR asrelease/2023R1
, when merged, tag asv23.1.<PATCH>
. - Add wheelhouse for Python 3.7 - Python 3.10 for Windows and Linux