@@ -105,35 +105,50 @@ tox -e docs
105105
106106# # Installation
107107
108- To install Flask-Admin, simply:
108+ To install Flask-Admin using pip , simply:
109109
110110` ` ` shell
111111pip install flask-admin
112112` ` `
113113
114- Or alternatively, you can download the repository and install manually
115- by doing:
114+
115+ # # Contributing
116+
117+ If you are a developer working on and maintaining Flask-Admin, checkout the repo by doing:
116118
117119` ` ` shell
118120git clone https://github.com/pallets-eco/flask-admin.git
119121cd flask-admin
120- pip install .
121122` ` `
122123
123- If you are contributing a bug fix or a new feature, you can install the app in editable mode:
124+ Flask-Admin uses [` uv` ](https://docs.astral.sh/uv/) to manage its dependencies and developer environment. With
125+ the repository checked out, to install the minimum version of Python that Flask-Admin supports, create your
126+ virtual environment, and install the required dependencies, run:
127+
128+ ` ` ` shell
129+ uv sync
130+ ` ` `
131+
132+ This will install Flask-Admin but without any of the optional extra dependencies, such as those for sqlalchemy
133+ or mongoengine support. To install all extras, run:
124134
125135` ` ` shell
126- pip install -e " .[ all] "
136+ uv sync --extra all
127137` ` `
128138
129139# # Tests
130140
131141Tests are run with * pytest* . If you are not familiar with this package, you can find out more on [their website](https://pytest.org/).
132142
133- To run the tests, from the project directory, simply run:
143+ In order for the full test suite to pass, you will need to have all of Flask-Admin' s optional extras install. Run:
144+
145+ ```shell
146+ uv sync --extra all
147+ ```
148+
149+ Then, to run the tests, simply run this command from the project' s directory:
134150
135- pip install --use-pep517 -r requirements/dev.txt
136- pytest
151+ uv run pytest
137152
138153You should see output similar to:
139154
0 commit comments