Skip to content

Commit 7b3be8e

Browse files
committed
Initial commit
1 parent 25aaa85 commit 7b3be8e

17 files changed

+1103
-169
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
# IMPORTANT: this permission is mandatory for trusted publishing
1616
id-token: write
1717
steps:
18-
- name: Checkout
19-
uses: actions/checkout@v3
20-
- name: Set up Python
21-
uses: actions/setup-python@v4
22-
with:
23-
python-version: '3.x'
24-
- name: Install build dependencies
25-
run: python -m pip install -U setuptools wheel build
26-
- name: Build
27-
run: python -m build .
28-
- name: Publish
29-
uses: pypa/gh-action-pypi-publish@release/v1
30-
with:
31-
skip-existing: true
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: "3.x"
24+
- name: Install build dependencies
25+
run: python -m pip install -U setuptools wheel build
26+
- name: Build
27+
run: python -m build .
28+
- name: Publish
29+
uses: pypa/gh-action-pypi-publish@release/v1
30+
with:
31+
skip-existing: true

.github/workflows/test.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

LICENSE.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
Copyright (c) 2016 The Python Packaging Authority (PyPA)
1+
MIT License
22

3-
Permission is hereby granted, free of charge, to any person obtaining a copy of
4-
this software and associated documentation files (the "Software"), to deal in
5-
the Software without restriction, including without limitation the rights to
6-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7-
of the Software, and to permit persons to whom the Software is furnished to do
8-
so, subject to the following conditions:
3+
Copyright (c) 2024 Maximilian Stölzle
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
911

1012
The above copyright notice and this permission notice shall be included in all
1113
copies or substantial portions of the Software.

noxfile.py

Lines changed: 0 additions & 52 deletions
This file was deleted.

pyproject.toml

Lines changed: 41 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
# https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-a-build-backend
1010
[build-system]
1111
# A list of packages that are needed to build your package:
12-
requires = ["setuptools"] # REQUIRED if [build-system] table is used
12+
requires = ["setuptools"] # REQUIRED if [build-system] table is used
1313
# The name of the Python object that frontends will use to perform the build:
14-
build-backend = "setuptools.build_meta" # If not defined, then legacy behavior can happen.
14+
build-backend = "setuptools.build_meta" # If not defined, then legacy behavior can happen.
1515

1616

1717
[project]
@@ -26,19 +26,19 @@ build-backend = "setuptools.build_meta" # If not defined, then legacy behavior
2626
# There are some restrictions on what makes a valid project name
2727
# specification here:
2828
# https://packaging.python.org/specifications/core-metadata/#name
29-
name = "sampleproject" # REQUIRED, is the only field that cannot be marked as dynamic.
29+
name = "turtle-loc-oracles" # REQUIRED, is the only field that cannot be marked as dynamic.
3030

3131
# Versions should comply with PEP 440:
3232
# https://www.python.org/dev/peps/pep-0440/
3333
#
3434
# For a discussion on single-sourcing the version, see
3535
# https://packaging.python.org/guides/single-sourcing-package-version/
36-
version = "3.0.0" # REQUIRED, although can be dynamic
36+
version = "0.0.1" # REQUIRED, although can be dynamic
3737

3838
# This is a one-line description or tagline of what your project does. This
3939
# corresponds to the "Summary" metadata field:
4040
# https://packaging.python.org/specifications/core-metadata/#summary
41-
description = "A sample Python project"
41+
description = "Oracles for turtle locomotion (e.g., swimming, walking, etc.)"
4242

4343
# This is an optional longer description of your project that represents
4444
# the body of text which users will see when they visit PyPI.
@@ -54,62 +54,60 @@ readme = "README.md"
5454
# 'Programming Language' classifiers in this file, 'pip install' will check this
5555
# and refuse to install the project if the version does not match. See
5656
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
57-
requires-python = ">=3.8"
57+
requires-python = ">=3.10"
5858

5959
# This is either text indicating the license for the distribution, or a file
6060
# that contains the license.
6161
# https://packaging.python.org/en/latest/specifications/core-metadata/#license
62-
license = {file = "LICENSE.txt"}
62+
license = { file = "LICENSE.txt" }
6363

6464
# This field adds keywords for your project which will appear on the
6565
# project page. What does your project relate to?
6666
#
6767
# Note that this is a list of additional keywords, separated
6868
# by commas, to be used to assist searching for the distribution in a
6969
# larger catalog.
70-
keywords = ["sample", "setuptools", "development"]
70+
keywords = ["bioinspiration", "robotics"]
7171

7272
# This should be your name or the name of the organization who originally
7373
# authored the project, and a valid email address corresponding to the name
7474
# listed.
7575
authors = [
76-
{name = "A. Random Developer", email = "[email protected]" }
76+
{ name = "Maximilian Stölzle", email = "[email protected]" },
77+
{ name = "Zach J. Patterson", email = "[email protected]" },
7778
]
7879

7980
# This should be your name or the names of the organization who currently
8081
# maintains the project, and a valid email address corresponding to the name
8182
# listed.
82-
maintainers = [
83-
{name = "A. Great Maintainer", email = "[email protected]" }
84-
]
83+
maintainers = [{ name = "Zach J. Patterson", email = "[email protected]" }]
8584

8685
# Classifiers help users find your project by categorizing it.
8786
#
8887
# For a list of valid classifiers, see https://pypi.org/classifiers/
8988
classifiers = [
90-
# How mature is this project? Common values are
91-
# 3 - Alpha
92-
# 4 - Beta
93-
# 5 - Production/Stable
94-
"Development Status :: 3 - Alpha",
95-
96-
# Indicate who your project is intended for
97-
"Intended Audience :: Developers",
98-
"Topic :: Software Development :: Build Tools",
99-
100-
# Pick your license as you wish
101-
"License :: OSI Approved :: MIT License",
102-
103-
# Specify the Python versions you support here. In particular, ensure
104-
# that you indicate you support Python 3. These classifiers are *not*
105-
# checked by "pip install". See instead "requires-python" key in this file.
106-
"Programming Language :: Python :: 3",
107-
"Programming Language :: Python :: 3.8",
108-
"Programming Language :: Python :: 3.9",
109-
"Programming Language :: Python :: 3.10",
110-
"Programming Language :: Python :: 3.11",
111-
"Programming Language :: Python :: 3.12",
112-
"Programming Language :: Python :: 3 :: Only",
89+
# How mature is this project? Common values are
90+
# 3 - Alpha
91+
# 4 - Beta
92+
# 5 - Production/Stable
93+
"Development Status :: 3 - Alpha",
94+
95+
# Indicate who your project is intended for
96+
"Intended Audience :: Developers",
97+
"Topic :: Software Development :: Build Tools",
98+
99+
# Pick your license as you wish
100+
"License :: OSI Approved :: MIT License",
101+
102+
# Specify the Python versions you support here. In particular, ensure
103+
# that you indicate you support Python 3. These classifiers are *not*
104+
# checked by "pip install". See instead "requires-python" key in this file.
105+
"Programming Language :: Python :: 3",
106+
"Programming Language :: Python :: 3.10",
107+
"Programming Language :: Python :: 3.11",
108+
"Programming Language :: Python :: 3.12",
109+
"Programming Language :: Python :: 3.13",
110+
"Programming Language :: Python :: 3 :: Only",
113111
]
114112

115113
# This field lists other packages that your project depends on to run.
@@ -118,17 +116,15 @@ classifiers = [
118116
#
119117
# For an analysis of this field vs pip's requirements files see:
120118
# https://packaging.python.org/discussions/install-requires-vs-requirements/
121-
dependencies = [
122-
"peppercorn"
123-
]
119+
dependencies = ["peppercorn"]
124120

125121
# List additional groups of dependencies here (e.g. development
126122
# dependencies). Users will be able to install these using the "extras"
127123
# syntax, for example:
128124
#
129125
# $ pip install sampleproject[dev]
130126
#
131-
# Optional dependencies the project provides. These are commonly
127+
# Optional dependencies the project provides. These are commonly
132128
# referred to as "extras". For a more extensive definition see:
133129
# https://packaging.python.org/en/latest/specifications/dependency-specifiers/#extras
134130
[project.optional-dependencies]
@@ -146,21 +142,19 @@ test = ["coverage"]
146142
# maintainers, and where to support the project financially. The key is
147143
# what's used to render the link text on PyPI.
148144
[project.urls]
149-
"Homepage" = "https://github.com/pypa/sampleproject"
150-
"Bug Reports" = "https://github.com/pypa/sampleproject/issues"
151-
"Funding" = "https://donate.pypi.org"
152-
"Say Thanks!" = "http://saythanks.io/to/example"
153-
"Source" = "https://github.com/pypa/sampleproject/"
145+
"Homepage" = "https://github.com/crush-robotics/turtle-locomotion-oracles"
146+
"Bug Reports" = "https://github.com/crush-robotics/turtle-locomotion-oracles/issues"
147+
"Source" = "https://github.com/crush-robotics/turtle-locomotion-oracles/"
154148

155149
# The following would provide a command line executable called `sample`
156150
# which executes the function `main` from this package when invoked.
157-
[project.scripts]
158-
sample = "sample:main"
151+
# [project.scripts]
152+
# sample = "sample:main"
159153

160154

161155
# This is configuration specific to the `setuptools` build backend.
162156
# If you are using a different build backend, you will need to change this.
163157
[tool.setuptools]
164158
# If there are data files included in your packages that need to be
165159
# installed, specify them here.
166-
package-data = {"sample" = ["*.dat"]}
160+
package-data = { "turtle_loc_oracles" = ["data/*.mat"] }

src/sample/package_data.dat

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/sample/simple.py

Lines changed: 0 additions & 2 deletions
This file was deleted.
File renamed without changes.
7.25 KB
Binary file not shown.

0 commit comments

Comments
 (0)