Skip to content

Commit 3acf7a0

Browse files
authored
Merge pull request #117 from C4dynamics/dev
Dev
2 parents 3d3cae2 + 8442751 commit 3acf7a0

File tree

6 files changed

+37
-36
lines changed

6 files changed

+37
-36
lines changed

CLASSIFIERS.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Development Status :: 5 - Production/Stable
2+
Intended Audience :: Developers
3+
Programming Language :: Python :: 3
4+
Operating System :: Unix
5+
Operating System :: MacOS :: MacOS X
6+
Operating System :: Microsoft :: Windows

c4dynamics/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
#
8484
# version
8585
##
86-
__version__ = '2.3.2' # update also in pyproject.toml
86+
__version__ = '2.3.2' # update also in pyproject.toml & setup.py
8787

8888

8989
#

paper/paper.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ $$ \dot{\theta} = q $$
7070
$$ \dot{q} = \frac{g}{L}\sin\theta $$
7171

7272
[Figure 1](#fig-pendulum) shows a schematic of the simple pendulum, and the system parameters are listed below:
73-
- Rod length: $L = 1$ $[m]$ (rigid, massless)
74-
- Gravity: $g = 9.8$ $[m/s²]$
75-
- Time step: $0.01$ $[s]$
76-
- Simulation duration: $5$ $[s]$
73+
- Rod length: $L = 1$ [m] (rigid, massless)
74+
- Gravity: $g = 9.8$ [m/s²]
75+
- Time step: $0.01$ [s]
76+
- Simulation duration: $5$ [s]
7777
- Integration function: `solve_ivp` (SciPy)
7878

7979
The expected result is an oscillatory motion of the angle $θ(t)$ in [Figure 2](#fig-theta), representing the pendulum swinging back and forth.

pyproject.toml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,31 @@ build-backend = "setuptools.build_meta"
66
name = "c4dynamics"
77
version = "2.3.2"
88
description = "Python framework for state-space modeling and algorithm development"
9-
authors = [
10-
{name = "Ziv Meri", email="[email protected]"}
11-
]
9+
authors = [{name = "Ziv Meri", email="[email protected]"}]
1210
readme = "README.md"
1311
requires-python = ">=3.8, <3.13"
14-
license = {text="MIT"}
15-
12+
license = "MIT"
13+
license-files = ["LICENSE"]
1614
dependencies = [
1715
"imageio>=2.37.0",
18-
"matplotlib>=3.10.3",
19-
"natsort>=8.4.0",
20-
"numpy>=2.3.1",
16+
"matplotlib>=3.9.2",
17+
"natsort>=8.3.1",
18+
"numpy>=1.26.0",
2119
"opencv-python>=4.11.0.86",
22-
"pooch>=1.8.2",
23-
"scipy>=1.16.0"
20+
"pooch>=1.8.0",
21+
"scipy>=1.13.0"
2422
]
23+
keywords = ['python', 'state-space', 'dynamics', 'physics', 'algorithms', 'computer vision', 'navigation', 'guidance', 'slam', 'vslam', 'image processing', 'signal processing', 'control']
24+
dynamic = ["classifiers"]
25+
26+
[tool.setuptools.dynamic]
27+
classifiers = { file = "CLASSIFIERS.txt" }
28+
2529

2630
# Optional / development dependencies
2731
[project.optional-dependencies]
2832
dev = [
29-
"nbsphinx>=0.9.7",
33+
"nbsphinx>=0.9.3",
3034
"Sphinx>=8.1.3",
3135
"sphinx-book-theme>=1.1.4",
3236
"sphinx_design>=0.6.1"

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
imageio>=2.37.0
33
matplotlib>=3.9.2
44
natsort>=8.3.1
5-
nbsphinx>=0.9.3
65
numpy>=1.26.0
76
opencv-python>=4.11.0.86
87
pooch>=1.8.0
98
scipy>=1.13.0
9+
nbsphinx>=0.9.3
1010
Sphinx>=8.1.3
1111
sphinx-book-theme>=1.1.4
1212
sphinx_design>=0.6.1

setup.py

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,23 @@
1010
long_description = '\n' + fh.read()
1111

1212

13-
import c4dynamics
13+
# import c4dynamics
1414

15-
VERSION = c4dynamics.__version__
15+
# VERSION = c4dynamics.__version__
16+
VERSION = "2.3.2" # change also in __init__.py and pyproject.toml
1617
print(VERSION)
1718
print('did u remember to upgrade the version number??')
1819

19-
DESCRIPTION = 'The framework for algorithms engineering with Python.'
20-
LONG_DESCRIPTION = 'Tsipor (bird) Dynamics (c4dynamics) is the open-source framework of algorithms development for objects in space and time.'
20+
DESCRIPTION = 'Python framework for state-space modeling.'
21+
LONG_DESCRIPTION = 'Tsipor (bird) Dynamics (c4dynamics) is The Python framework for state-space modeling and algorithm development.'
2122

2223
required_packages = []
2324

24-
with open(os.path.join(here, 'requirements.txt'), 'r') as file:
25-
for line in file:
26-
line = line.strip() # Remove leading and trailing whitespaces
27-
if not line.startswith('#'):
28-
required_packages.append(line)
25+
# with open(os.path.join(here, 'requirements.txt'), 'r') as file:
26+
# for line in file:
27+
# line = line.strip() # Remove leading and trailing whitespaces
28+
# if not line.startswith('#'):
29+
# required_packages.append(line)
2930

3031

3132
# Now, lines_to_append contains all lines from the file that don't start with a hash
@@ -52,16 +53,6 @@
5253
# , exclude_package_data = {package: ['src/main/resources/*.*']}
5354
, install_requires = required_packages
5455
, python_requires = ">=3.8,<3.13" # update also in run-tests.yml, readme.md, pyproject.yaml, setup_guide.ipynb
55-
, keywords = ['python', 'dynamics', 'physics'
56-
, 'algorithms', 'computer vision'
57-
, 'navigation', 'guidance', 'slam'
58-
, 'vslam', 'image processing', 'signal processing', 'control']
59-
, classifiers = ['Development Status :: 5 - Production/Stable'
60-
, 'Intended Audience :: Developers'
61-
, 'Programming Language :: Python :: 3'
62-
, 'Operating System :: Unix'
63-
, 'Operating System :: MacOS :: MacOS X'
64-
, 'Operating System :: Microsoft :: Windows']
6556
)
6657

6758

0 commit comments

Comments
 (0)