Closed Shaibujnr closed 2 years ago
Resolves #30
pip install --upgrade pip
pip install poetry
poetry init
poetry add "alembic>=1.6.5" "pandas>=1.3.1" "psycopg2>=2.9.1" "sqlacodegen>=2.3.0" "sqlalchemy>=1.4.22" "mysqlclient>=2.0.3"
poetry add --dev "bump2version>=0.5.11" "wheel>=0.33.6" "watchdog>=0.9.0" "flake8>=3.7.8" "tox>=3.14.0" "coverage>=4.5.4" "Sphinx>=1.8.5" "Click>=7.0" "pytest>=6.2.4" "pytest-runner>=5.1" "pytest-order>=1.0.0" "django"
poetry install -v
opencdms
pip install -e .
On a fresh environment, run poetry install -v to install all dependencies and dev dependencies.
Thank you @Shaibujnr, I'll try using poetry to push an update to PyPI
Resolves #30
Steps Taken To Set up poetry
pip install --upgrade pip
pip install poetry
poetry init
to generate pyproject.toml filepoetry add "alembic>=1.6.5" "pandas>=1.3.1" "psycopg2>=2.9.1" "sqlacodegen>=2.3.0" "sqlalchemy>=1.4.22" "mysqlclient>=2.0.3"
poetry add --dev "bump2version>=0.5.11" "wheel>=0.33.6" "watchdog>=0.9.0" "flake8>=3.7.8" "tox>=3.14.0" "coverage>=4.5.4" "Sphinx>=1.8.5" "Click>=7.0" "pytest>=6.2.4" "pytest-runner>=5.1" "pytest-order>=1.0.0" "django"
poetry install -v
to installopencdms
in itself in development mode. similar topip install -e .
On a fresh environment, run
poetry install -v
to install all dependencies and dev dependencies.