Mark Sapiro pushed to branch master at GNU Mailman / Mailman Core
Commits: 1d8e5feb by Mark Sapiro at 2021-03-10T22:29:18-08:00 Replaced 'python setup.py develop' with 'pip install -e .'. - - - - - 605b993d by Mark Sapiro at 2021-03-12T01:07:44+00:00 Merge branch 'pip' into 'master' Replaced 'python setup.py develop' with 'pip install -e .'. See merge request mailman/mailman!792 - - - - - 2 changed files: - src/mailman/docs/contribute.rst - src/mailman/docs/database.rst Changes: ===================================== src/mailman/docs/contribute.rst ===================================== @@ -127,10 +127,12 @@ into ``/tmp/mm3``:: $ python3 -m venv /tmp/mm3 -Now, activate the virtual environment and set it up for development:: +Now, in the directory containing Mailman, activate the virtual environment +and set it up for development:: - % source /tmp/mm3/bin/activate - % python setup.py develop + $ cd directory/containing/mailman + $ source /tmp/mm3/bin/activate + $ pip install -e . Sit back and have some Kombucha while you wait for everything to download and install. ===================================== src/mailman/docs/database.rst ===================================== @@ -99,9 +99,10 @@ something in the models, what steps are needed to reflect that change in the database schema? You need to create and enter a virtual environment, install Mailman into that, and then run the ``alembic`` command. For example:: + $ cd /directory/containing/mailman $ python3 -m venv /tmp/mm3 $ source /tmp/mm3/bin/activate - $ python setup.py develop + $ pip install -e . $ mailman info $ alembic -c src/mailman/config/alembic.cfg revision --autogenerate -m "<migration_name>" View it on GitLab: https://gitlab.com/mailman/mailman/-/compare/298710d3fe324adb66ee4698aa2e4157d2be5237...605b993d680f9fdde4e37ba363b96ec581e60782 -- View it on GitLab: https://gitlab.com/mailman/mailman/-/compare/298710d3fe324adb66ee4698aa2e4157d2be5237...605b993d680f9fdde4e37ba363b96ec581e60782 You're receiving this email because of your account on gitlab.com.
_______________________________________________ Mailman-checkins mailing list -- mailman-checkins@python.org To unsubscribe send an email to mailman-checkins-le...@python.org https://mail.python.org/mailman3/lists/mailman-checkins.python.org/ Member address: arch...@jab.org