mirror of
https://github.com/lucaspalomodevelop/netbox-acls.git
synced 2026-03-12 23:27:23 +00:00
bump version & fix pypi project content
This commit is contained in:
parent
69bfb96b3a
commit
4a60c282ba
38
setup.py
38
setup.py
@ -1,31 +1,21 @@
|
||||
# import codecs
|
||||
# import os.path
|
||||
#
|
||||
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.")
|
||||
#
|
||||
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()
|
||||
|
||||
|
||||
setup(
|
||||
name="netbox-acls",
|
||||
version="1.0.0",
|
||||
version="1.1.1",
|
||||
# version=get_version("netbox_acls/version.py"),
|
||||
description="A NetBox plugin for Access List management",
|
||||
# long_description=long_description,
|
||||
@ -35,4 +25,4 @@ setup(
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
)
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user