Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 62a18c0

Browse files
author
Michael Smith
committed
Incrementing version to 0.2
1 parent 905d014 commit 62a18c0

3 files changed

Lines changed: 65 additions & 6 deletions

File tree

acitoolkit/__about__.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Licensed under the Apache License, Version 2.0 (the "License");
2+
# you may not use this file except in compliance with the License.
3+
# You may obtain a copy of the License at
4+
#
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
#
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
13+
__all__ = [
14+
"__title__", "__summary__", "__uri__", "__version__", "__author__",
15+
"__email__", "__license__", "__copyright__",
16+
]
17+
18+
__title__ = "acitoolkit"
19+
__summary__ = "Toolkit for Cisco ACI Fabrics"
20+
__uri__ = "http://datacenter.github.io/acitoolkit/"
21+
22+
__version__ = "0.2"
23+
24+
__author__ = "Cisco Systems, Inc."
25+
__email__ = "acitoolkit@external.cisco.com"
26+
27+
__license__ = "Apache License, Version 2.0"
28+
__copyright__ = "2015 %s" % __author__

acitoolkit/__init__.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Licensed under the Apache License, Version 2.0 (the "License");
2+
# you may not use this file except in compliance with the License.
3+
# You may obtain a copy of the License at
4+
#
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
#
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
13+
from __about__ import (
14+
__author__, __copyright__, __email__, __license__, __summary__, __title__,
15+
__uri__, __version__,
16+
)
17+
18+
19+
__all__ = [
20+
"__author__", "__copyright__", "__email__", "__license__", "__summary__",
21+
"__title__", "__uri__", "__version__",
22+
]

setup.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
"""
22
ACIToolkit Installer using setuptools
33
"""
4+
import os
45
from setuptools import setup
6+
7+
8+
base_dir = os.path.dirname(__file__)
9+
10+
about = {}
11+
with open(os.path.join(base_dir, "acitoolkit", "__about__.py")) as f:
12+
exec(f.read(), about)
13+
514
setup(
6-
name="acitoolkit",
7-
version="0.1",
15+
name=about["__title__"],
16+
version=about["__version__"],
817
packages=["acitoolkit"],
9-
author="Cisco Systems, Inc.",
10-
author_email="acitoolkit@cisco.com",
11-
url="http://github.com/datacenter/acitoolkit/",
12-
license="http://www.apache.org/licenses/LICENSE-2.0",
18+
author=about["__author__"],
19+
author_email=about["__email__"],
20+
url=about["__uri__"],
21+
license=about["__license__"],
1322
install_requires=["requests",
1423
"websocket-client",
1524
"gitpython",

0 commit comments

Comments
 (0)