Skip to main content

Odin setuptools extensions

Project description

odintools - Odin Setup Tools
============================

This library helps to automate continuous delivery processes adopted in Odin.
More information: [Python packaging][python-packaging]


## Installation

Current version is at an early stage of development, so you may want to
install it in the `develop` mode in your virtualenv:

```bash
$ python setup.py develop
```


## Usage

Ensure that you have `odintools` in your `setup_requires` list and pass
`odintools=True` as a keyword argument in the `setup()` call:

```python
from setuptools import setup

setup(
setup_requires=['odintools'],
odintools=True,
...
)
```

After you enable odintools in the setup.py file you can use new commands
provided by it:

```bash
$ python setup.py publish --dev
```

## Installing a package built with odintools

Besides ~/.pip/pip.conf file with the following contents:

```bash
mkdir ~/.pip; cat > ~/.pip/pip.conf <<EOF
[global]
index-url = http://pypi.aps.sw.ru/odin/pypi/+simple/
trusted-host = pypi.aps.sw.ru
EOF
```

you'll need a setuptools/disutils configuration file:

```bash
cat > .pydistutils.cfg <<EOF
[easy_install]
index-url = http://pypi.aps.sw.ru/odin/pypi/+simple/
trusted-host = pypi.aps.sw.ru
EOF
```

Pydistutils is required because `setup_requires` line in `setup()` call is processed
by setuptools, not pip, so it needs a separate configuration.

[python-packaging]: https://rnd-teamwork.sw.ru/x/1x-N

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

odintools-0.1.30.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file odintools-0.1.30.tar.gz.

File metadata

  • Download URL: odintools-0.1.30.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for odintools-0.1.30.tar.gz
Algorithm Hash digest
SHA256 90995e6d08dd9e71da146249422927645b2ab8c6ba8d4df5fd55a30e9886fcdd
MD5 0a38f3380df414c7ccd792cd554775bc
BLAKE2b-256 53e39518c2128c3ad432d1ab4bdfc80eee60dc05df1f62ffc7256292412e12d7

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