Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make laika uv installable #166

Merged
merged 4 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
NASA_PASSWORD: ${{ secrets.NASA_PASSWORD }}
- name: Test install
run: |
python setup.py install
pip3 install .
cd / && python -c 'import laika'
lint:
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pip install numpy scipy
```
Then laika can be installed with
```
python setup.py install
pip install .
```
The tests should now pass.

Expand Down
40 changes: 38 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,42 @@
[project]
name='laika'
version='0.0.1'
description="GNSS library for use with the comma.ai ecosystem"
authors = [{name='comma.ai', email='[email protected]'}]
requires-python = '>= 3.8'
license = {text = "MIT License"}
dependencies = [
'numpy',
'certifi',
'requests',
'scipy',
'pycurl',
'tqdm',
'hatanaka',
'pycapnp',
]
classifiers = [
'Development Status :: 4 - Beta',
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: System :: Hardware",
]

[project.urls]
Homepage = 'https://github.com/commaai/laika'

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = [ "." ]

[tool.uv]
dev-dependencies = [
'pytest',
'parameterized'
]

# https://docs.astral.sh/ruff/configuration/
[tool.ruff]
Expand Down
39 changes: 0 additions & 39 deletions setup.py

This file was deleted.