netbox-acls/setup.py
Abhimanyu Saharan 18b5253575
Fix import path (#62)
* fix import path for NetBox 3.3 support
2022-10-03 21:27:17 -04:00

39 lines
1.0 KiB
Python

# import codecs
# import os.path
#
from setuptools import find_packages, setup
#
# with open("README.md", "r") as fh:
# long_description = fh.read()
#
#
# def read(rel_path):
# here = os.path.abspath(os.path.dirname(__file__))
# with codecs.open(os.path.join(here, rel_path), "r") as fp:
# return fp.read()
#
#
# def get_version(rel_path):
# for line in read(rel_path).splitlines():
# if line.startswith('__version__'):
# delim = '"' if '"' in line else "'"
# return line.split(delim)[1]
# else:
# raise RuntimeError("Unable to find version string.")
#
setup(
name="netbox-access-lists",
version="1.1.0",
# version=get_version("netbox_access_lists/version.py"),
description="A NetBox plugin for Access List management",
# long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ryanmerolle/netbox-access-lists",
install_requires=[],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
)