🤝 Contributing to Scikit-longitudinal¶
We appreciate contributions from the community and welcome your ideas, bug reports, and pull requests. Follow this guide to set up the project locally, install dependencies, and contribute effectively.
🚀 Developer Setup¶
Prerequisites¶
Ensure the following tools are installed: * Python 3.9.x * UV
📦 Installing from Source¶
Step 1: Clone the Repository¶
Step 2: Set Up the Environment¶
Using UV (Recommended)¶
-
Install and Pin Python Version:
-
Create and Activate a Virtual Environment:
-
Install Dependencies:
Step 3: Run Tests¶
To verify your setup:
❌ Troubleshooting Errors¶
General Issues¶
If you encounter setup errors:
-
Deactivate Environment:
-
Clear UV Cache:
Note: Sometimes removing uv.lock
and uv lock
again could help.
-
Reinstall Dependencies:
-
Check Logs: Review logs for detailed error messages and attempt to resolve conflicts manually.
Windows Known Issues¶
If you are on Windows, you might encounter issues with line endings. Configure Git to handle line endings appropriately:
Additionally, we recommend using Docker for a seamless setup on Windows systems, as it avoids most compatibility issues.
⚙️ Building the Distribution Packages¶
To build the project for distribution:
This will generate the distribution packages in the dist/
directory.
🛠️ Additional Information¶
- For detailed command descriptions, refer to the
pyproject.toml
file. - If you encounter persistent issues, report them on the issue tracker.
🎉 Ready to contribute! Happy coding!