This repository has been archived by the owner on Jul 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added setup.py and manifest - Code moved into module to allow packaging - Added version info (required by packaging)
- Loading branch information
Andrew McIntosh
committed
Oct 9, 2017
1 parent
ca71988
commit a1d23ed
Showing
5 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include README.md | ||
include requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from setuptools import setup, find_packages | ||
import vmware_exporter | ||
|
||
setup( | ||
name='vmware_exporter', | ||
version=vmware_exporter.__version__, | ||
author=vmware_exporter.__author__, | ||
description='VMWare VCenter Exporter for Prometheus', | ||
long_description=open('README.md').read(), | ||
url='https://github.com/rverchere/vmware_exporter', | ||
download_url=("https://github.com/rverchere/vmware_exporter/tarball/%s" % | ||
vmware_exporter.__version__), | ||
keywords=['VMWare', 'VCenter', 'Prometheus'], | ||
license=vmware_exporter.__license__, | ||
packages=find_packages(exclude=['*.test', '*.test.*']), | ||
include_package_data=True, | ||
install_requires=open('requirements.txt').readlines(), | ||
entry_points={ | ||
'console_scripts': [ | ||
'vmware_exporter=vmware_exporter.vmware_exporter:main' | ||
] | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
__version__ = "0.1.0" | ||
__author__ = "Remi Verchere" | ||
__license__ = "BSD 3-Clause License" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters