ossie
ossie copied to clipboard
Switch to uv - python
This PR is created on top of https://github.com/apache/ossie/pull/205, LICENSE and NOTICED are added here for completeness. These two files would be remove if the reference PR got merged first.
As per ML, we want to proceed with more standard layout for python project by using uv. Here are the changes made in this PR:
- Added
LICENSEandNOTICE(see above for reference) - Added
README.mdwith instructions arounduv - Updated
pyproject.tomlwith PEP 639 - Added
authors,readme,keywords,project.urlsinpyproject.toml - Removed redundant
classifiersinpyproject.tomlas that is covered byrequires-python - Removed
pytestdependency as this project doesn't have any unit test - Refresh
uv.lock
Sample validation:
➜ python git:(switch_to_uv) uv sync
Using CPython 3.11.13
Creating virtual environment at: .venv
Resolved 7 packages in 17ms
Built apache-ossie @ file:///Users/yong/Desktop/GitHome/ossie/python
Prepared 1 package in 476ms
Installed 7 packages in 35ms
+ annotated-types==0.7.0
+ apache-ossie==0.2.0.dev0 (from file:///Users/yong/Desktop/GitHome/ossie/python)
+ pydantic==2.13.4
+ pydantic-core==2.46.4
+ pyyaml==6.0.3
+ typing-extensions==4.16.0
+ typing-inspection==0.4.2
➜ python git:(switch_to_uv) uv build
Building source distribution...
Building wheel from source distribution...
Successfully built dist/apache_ossie-0.2.0.dev0.tar.gz
Successfully built dist/apache_ossie-0.2.0.dev0-py3-none-any.whl