Skip to content

Commit

Permalink
Restore setup.cfg and setup.py
Browse files Browse the repository at this point in the history
Building packages on OS versions that don't come with recent
version(>61) setuptools is impossible thus we must restore setup.py
and setup.cfg.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2250185#c1
  • Loading branch information
unixsurfer committed Nov 19, 2023
1 parent d75753d commit 706b87d
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
37 changes: 37 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[metadata]
name = anycast-healthchecker
author = Pavlos Parissis
author-email = pavlos.parissis@gmail.com
maintainer = Pavlos Parissis
maintainer-email = pavlos.parissis@gmail.com
summary = A healthchecker for Anycasted Services
home-page = https://github.com/unixsurfer/anycast_healthchecker
license = Apache 2.0
classifier =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Information Technology
Intended Audience :: System Administrators
Natural Language :: English
Operating System :: POSIX
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Topic :: System :: Monitoring
Topic :: Utilities
requires-dist =
python-json-logger
docopt
prometheus_client
keywords = healthchecker anycast ECMP

[files]
packages =
anycast_healthchecker
anycast
healthchecker
Equal-Cost Multi-Pathing
monitor

[entry_points]
console_scripts =
anycast-healthchecker = anycast_healthchecker.main:main
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env python

import setuptools

setuptools.setup(
setup_requires=['pbr'],
pbr=True)

0 comments on commit 706b87d

Please sign in to comment.