Skip to content

Commit

Permalink
Version 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasge committed Aug 18, 2022
1 parent d7096c5 commit 118b71c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ pip install "netbox-initializers==3.2.*"
At first you need to start with writing the YAML files that contain the initial data. To make that easier the plugin includes example files for all supported initializers. To access those examples you can copy them into a directory of your choosing and edit them there. To copy the files run the following command (in your Netbox directory):

```bash
./manage.py ./manage.py copy_initializers_examples --path /path/for/example/files
./manage.py copy_initializers_examples --path /path/for/example/files
```

After you filled in the data you want to import, the import can be started with this command:

```bash
./manage.py ./manage.py load_initializer_data --path /path/for/example/files
./manage.py load_initializer_data --path /path/for/example/files
```


Expand Down
2 changes: 1 addition & 1 deletion src/netbox_initializers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class NetBoxInitializersConfig(PluginConfig):
name = 'netbox_initializers'
verbose_name = 'NetBox Initializers'
description = 'Load initial data into Netbox'
version = '3.2.0'
version = '3.2.1'
base_url = 'initializers'
min_version = '3.2.0'
max_version = '3.2.99'
Expand Down
7 changes: 4 additions & 3 deletions src/setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
from setuptools import find_packages, setup

from pathlib import Path
this_directory = Path(__file__).parent


this_directory = Path(__file__).parent
long_description = (this_directory / ".." / "README.md").read_text()

setup(
name="netbox-initializers",
version="3.2.0",
version="3.2.1",
description="Load initial data into Netbox",
install_requires=["ruamel.yaml==0.17.21"],
packages=find_packages() + ["netbox_initializers.initializers.yaml"],
package_data={"netbox_initializers.initializers.yaml": ["*.yml"]},
include_package_data=True,
zip_safe=False,
long_description=long_description,
long_description_content_type='text/markdown'
long_description_content_type="text/markdown",
)

0 comments on commit 118b71c

Please sign in to comment.