dependency-detector-0.7.0
توضیحات
Detect dependencies necessary to build a project
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dependency-detector-0.7.0 |
| نام | dependency-detector |
| نسخه کتابخانه | 0.7.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Meeshkan Dev Team |
| ایمیل نویسنده | dev@meeshkan.com |
| آدرس صفحه اصلی | https://github.com/meeshkan/dependency-detector |
| آدرس اینترنتی | https://pypi.org/project/dependency-detector/ |
| مجوز | MIT |

[](https://badge.fury.io/py/dependency-detector)
[](LICENSE)
# dependency-detector
Tool to analyse a project for packages necessary to build it.
# Installation
```sh
pip install dependency-detector
```
# Usage
Specify a directory containing a project. This will output the commands necessary to install build dependencies on a Ubuntu 20.04 environment:
```sh
$ dependency-detector tests/python37-from-pipfile
add-apt-repository ppa:deadsnakes/ppa; apt update; apt install python3.7
$ dependency-detector tests/java8-and-maven
apt install openjdk-8-jdk-headless; apt install maven
```
# Development
1. Create a new virtual environment.
1. Install dependencies: `pip install --upgrade -e '.[dev]'`
1. Install [pyright](https://github.com/microsoft/pyright).
1. Run `python setup.py test` to test.
1. Run `pip install dependency-detector` to install the command-line tool
# Publishing
1. Bump the version in [setup.py](./setup.py). Commit and push.
1. Run `python setup.py test` and `python setup.py dist` to check that everything works.
1. To build and upload the package, run `python setup.py upload`. Insert PyPI credentials to upload the package to `PyPI`. The command will also run `git tag` to tag the commit as a release and push the tags to remote.
نیازمندی
| مقدار | نام |
|---|---|
| ==0.10.0 | toml |
| - | autopep8 |
| - | black |
| - | flake8 |
| - | pylint |
| - | pytest |
| - | setuptools |
| - | twine |
| - | wheel |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.0 | Python |
نحوه نصب
نصب پکیج whl dependency-detector-0.7.0:
pip install dependency-detector-0.7.0.whl
نصب پکیج tar.gz dependency-detector-0.7.0:
pip install dependency-detector-0.7.0.tar.gz