Skip to main content

Graphene helpers for rescape projects

Project description

rescape_graphene

Graphene helpers for rescape projects

Installation

Create a virtual environment using

mkdir ~/.virtualenvs
python3 -m venv ~/.virtualenvs/rescape-graphene
Activate it
source ~/.virtualenvs/rescape-graphene/bin/activate

Install requirements

$VIRTUAL_ENV/bin/pip install --no-cache-dir  --upgrade -r requirements.txt

Add the following to the bottom $VIRTUAL_ENV/bin/activate to setup the PYTHONPATH. Replace the path with your code directory

export RESCAPE_GRAPHENE_BASE_DIR=/Users/andy/code/rescape-graphene
export RESCAPE_GRAPHENE_PROJECT_DIR=$URBINSIGHT_BASE_DIR/urbinsight
export PYTHONPATH=.:$RESCAPE_GRAPHENE_BASE_DIR:$RESCAPE_GRAPHENE_PROJECT_DIR

Build

Update the version in setup.py Run to generate build: Update the version with bumpversion, which can't seem to look it up itself but udpates setup.py

git commit . -m "Version update" && git push
bumpversion --current-version {look in setup.py} patch setup.py
python3 setup.py clean sdist bdist_wheel

To distribute to testpypi site: Upload package:

twine upload dist/*
git commit . -m "Version update" && git push && bumpversion --current-version {look in setup.py} patch setup.py && python3 setup.py clean sdist bdist_wheel && twine upload dist/*

For setup of testpypi see ~/.pypirc or create one according to the testpypi docs: e.g.: [distutils] index-servers= pypi testpypi

[testpypi] repository: https://test.pypi.org/legacy/ username: your username for pypi.org

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rescape_graphene-0.2.23.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rescape_graphene-0.2.23-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file rescape_graphene-0.2.23.tar.gz.

File metadata

  • Download URL: rescape_graphene-0.2.23.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for rescape_graphene-0.2.23.tar.gz
Algorithm Hash digest
SHA256 cce602bb5783ab7de6274307831303df9672bd2997d506f2087e8ded79e88d50
MD5 e0052e11aa1f32c2bc0ca1bb63d41752
BLAKE2b-256 1d34973601a14a0671d1fa381fa971118eec83add50a894bdc739e71b4a066aa

See more details on using hashes here.

File details

Details for the file rescape_graphene-0.2.23-py3-none-any.whl.

File metadata

  • Download URL: rescape_graphene-0.2.23-py3-none-any.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for rescape_graphene-0.2.23-py3-none-any.whl
Algorithm Hash digest
SHA256 539f582230d57c13e9b1e08bf45179729532ae8956fbb3d7a40d1a1040f0d6a7
MD5 47efd4a02dcf431a459ee80bff93d89c
BLAKE2b-256 396f92d027dfd8ff90e0bb1e87046c2eb40106531089deea640952af275fd67d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page