Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added some new info to the setup.py and streamlined/reorganize the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Aug 9, 2023
1 parent 9da818d commit dd2730f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,25 @@
url='https://github.itap.purdue.edu/MintonGroup/swiftest',
python_requires=">3.8",
license="GPLv3",
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha/Development',

# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Astronomy',

# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',

# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
],
keywords='astronomy astrophysics planetary nbody integrator symplectic wisdom-holman',
cmake_args=[
'-DCMAKE_BUILD_TYPE=RELEASE',
'-DMACHINE_CODE_VALUE="generic"',
Expand All @@ -33,7 +52,6 @@
],
install_requires= [
'numpy>=1.24.3',
'pandas>=1.5.3',
'scipy>=1.10.1',
'xarray>=2022.11.0',
'dask>=2022.1',
Expand All @@ -46,4 +64,5 @@
'tqdm>=4.65.0',
],
packages=['swiftest'],
test_suite="swiftest.tests",
)
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt → swiftest/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SET(UNIT_TEST swiftest_test_suite)
ADD_CUSTOM_TARGET(${UNIT_TEST} ALL)
ADD_DEPENDENCIES(${UNIT_TEST} ${SWIFTEST_DRIVER})

ADD_TEST(NAME ${UNIT_TEST} COMMAND python ${CMAKE_SOURCE_DIR}/python/swiftest/tests/test_suite.py)
ADD_TEST(NAME ${UNIT_TEST} COMMAND python ${CMAKE_CURRENT_SOURCE_DIR}/test_input_output.py)

ADD_CUSTOM_COMMAND(
TARGET ${UNIT_TEST}
Expand Down
File renamed without changes.

0 comments on commit dd2730f

Please sign in to comment.