Skip to main content

Specification plugin for AaC

Project description

PYTHON VERSION COMPATIBILITY: Currently, Python version 3.9.13 is required to avoid certain dependency version issues.

pyproject.toml vs setup.py Previously, this project was built with dependency information kept in a setup.py script. However, the preferred method is to use pyproject.toml to set the project-level options. Required modules are kept in the requirements.in file, and then the pip-compile command is used to add hashes to the requirements.txt file for enhanced security (see additional instructions below). To coincide with these changes, some changes to tox.ini and the addition of a MANIFEST.ini file were also necessary. These lines were added to tox.ini: isolated_build = True skipsdist = True A MANIFEST file with these lines was added: graft src graft tests include tox.ini include src/specifications/specifications.aac

TO BUILD FROM TERMINAL: cd python pip install -e .

TO TEST FROM TERMINAL: cd python pip install -e . python -m unittest

To generate a requirements.txt file populated with hashes, use: pip install pip-tools pip-compile requirements.in --generate-hashes

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

aac_spec-0.1.1.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

aac_spec-0.1.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

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