Skip to main content

Fortran files sorting based on modules definitions and usages.

Project description

run-fortran

In what follows python is an alias for python3.5 or pypy3.5 or any later version (python3.6, pypy3.6 and so on).

Installation

Install the latest pip & setuptools packages versions

python -m pip install --upgrade pip setuptools

User

Download and install the latest stable version from PyPI repository

python -m pip install --upgrade run_fortran

Developer

Download the latest version from GitHub repository

git clone https://github.com/lycantropos/run-fortran.git
cd run_fortran

Install

python setup.py install

Usage

List available commands & options

run-fortran --help

Development

Bumping version

Preparation

Install bump2version.

Pre-release

Choose which version number category to bump following semver specification.

Test bumping version

bump2version --dry-run --verbose $CATEGORY

where $CATEGORY is the target version number category name, possible values are patch/minor/major.

Bump version

bump2version --verbose $CATEGORY

This will set version to major.minor.patch-alpha.

Release

Test bumping version

bump2version --dry-run --verbose release

Bump version

bump2version --verbose release

This will set version to major.minor.patch.

Running tests

Plain

pytest

Inside Docker container:

  • with CPython
    docker-compose --file docker-compose.cpython.yml up
    
  • with PyPy
    docker-compose --file docker-compose.pypy.yml up
    

Bash script:

  • with CPython

    ./run-tests.sh
    

    or

    ./run-tests.sh cpython
    
  • with PyPy

    ./run-tests.sh pypy
    

PowerShell script:

  • with CPython
    .\run-tests.ps1
    
    or
    .\run-tests.ps1 cpython
    
  • with PyPy
    .\run-tests.ps1 pypy
    

Project details


Download files

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

Source Distribution

run_fortran-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

run_fortran-1.0.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file run_fortran-1.0.0.tar.gz.

File metadata

  • Download URL: run_fortran-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.5.10

File hashes

Hashes for run_fortran-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2061c6a4d93c76e5ce2630f0e5c55b815bed996b154ac816ec65cca096f5327a
MD5 4ab148f642a0a21e252786a4a1a7101e
BLAKE2b-256 aaff9fe3542f7af186dd7e85b694fc69aa574ebb36e7e5f26cfa55e3036eef90

See more details on using hashes here.

File details

Details for the file run_fortran-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: run_fortran-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.5.10

File hashes

Hashes for run_fortran-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7f868442363695795e69dd9cd05c83ffef588431fe0ccf1287b99654287b5b0
MD5 74ea5cb927471c6c45806cae88108dba
BLAKE2b-256 a47e2e19abeed58cf47b714bff156b4470eb63ec4c6a6d2eef681380a0eef0ad

See more details on using hashes here.

Supported by

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