raylutz / daffodil

Python Daffodil: 2-D data arrays with mixed types, lightweight package, can be faster than Pandas
MIT License
7 stars 2 forks source link

Fix package creation configuration #11

Closed Ferido07 closed 4 months ago

Ferido07 commented 4 months ago

This change contains:

There might be tests which are broken please check.

NOTE The versions I used contains rc1 to avoid name collision when publishing.

How To Test

  1. First build the package locally using python3 -m build
  2. Publish the package to PyPi using python3 -m twine upload dist/*. Make sure the dist folder only contains the assets of the latest build.
  3. Install daffodil (in the project using daffodil) with the exact version just published. For example the existing version if built and uploaded directly will can be installed using pip install daffodil==0.3.0rc1
  4. Run test commands and the project should run without ModuleNotFoundError for daffodil

Once verified that everything is working you can change the version in pyproject.toml to 0.3.1, merge this to main branch then finally build and publish the package again.

For more info regarding how to create packages