This release is a pre-release and may not be stable for production use.
ci-cmg-cruise-schema-orm
Setting Up a Virtual Environment with pyenv
Install pyenv-virtualenv if you have not already
brew install pyenv-virtualenv
pyenv install 3.9.13
If setting up pyenv for the first time, you will need to add these lines to your ~/.bash_profile
or ~/.zprofile (if using zsh, the default in macos Catalina and later) file in order for pyenv
to automatically activate / deactivate python environments configured for a given directory (next step).
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
configure python environment for project directory
pyenv virtualenv 3.9.13 cruise-schema-orm-3.9.13
pyenv local cruise-schema-orm-3.9.13
install dependencies into python environment
pip install -r requirements.txt
pip install -r test-requirements.txt
Building
Since this project can use JDBC divers, Apache Maven is used to build and test the library. Java 8+ and Maven must be installed and on the PATH. JAVA_HOME and MAVEN_HOME environment variables should be set.
This project uses a docker container running an Oracle database to run tests. Docker must be installed.
The tests use the Oracle JDBC driver. This driver is not available from the Maven central repository. Download the driver from Oracle and either host this in a remote private repository, or manually add it to your local repository.
To build and test, run the following from the root of the project:
mvn clean install
Developing
Metadata
Release files for ci-cmg-cruise-schema-orm 1.1.0.dev20230109202818
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ci-cmg-cruise-schema-orm-1.1.0.dev20230109202818.tar.gz | 13.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ci_cmg_cruise_schema_orm-1.1.0.dev20230109202818-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.6 kB
Release files / ci-cmg-cruise-schema-orm-1.1.0.dev20230109202818.tar.gz
| Download URL | ci-cmg-cruise-schema-orm-1.1.0.dev20230109202818.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe310a3022ac2d7b64596c28357a4a2374910e485d86f7ee79dee6653015f3db
|
|
BLAKE2b-256 checksum How to use checksums |
d7b921e887400373a81ee52390b8ff1153bf6c4f2800b54b9b3cf7bdfb226c0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / ci_cmg_cruise_schema_orm-1.1.0.dev20230109202818-py3-none-any.whl
| Download URL | ci_cmg_cruise_schema_orm-1.1.0.dev20230109202818-py3-none-any.whl |
|---|---|
| Size | 26.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffb0b1998abbccf79bed327d3272f8184f2b200a5a836f183bcee1ba029ced51
|
|
BLAKE2b-256 checksum How to use checksums |
64cf4207ecf903fe11c4419512b77be6d471d614b1d382d85a256d9461f35f37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|