Skip to content

Commit 9235293

Browse files
Sanquihroncok
authored andcommitted
Make pethtool, pifconfig scripts installed by setuptools
#24 Fixes #10
1 parent 2f01f34 commit 9235293

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Usage
2121
'127.0.0.1'
2222

2323
``python-ethtool`` also provides the ``pethtool`` and ``pifconfig`` utilities. More example usage may be gathered from their sources,
24-
`pethtool.py <https://github.com/fedora-python/python-ethtool/blob/master/pethtool.py>`_
24+
`pethtool.py <https://github.com/fedora-python/python-ethtool/blob/master/scripts/pethtool>`_
2525
and
26-
`pifconfig.py <https://github.com/fedora-python/python-ethtool/blob/master/pethtool.py>`_.
26+
`pifconfig.py <https://github.com/fedora-python/python-ethtool/blob/master/scripts/pethtool>`_.
2727

2828

2929
``pethtool`` mimics behavior of the ``ethtool`` utility, but does not
File renamed without changes.
File renamed without changes.

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ def libraries(self, value):
122122
'Topic :: Software Development :: Libraries',
123123
'Topic :: System :: Networking',
124124
],
125+
126+
scripts=[
127+
'scripts/pethtool', 'scripts/pifconfig'
128+
],
129+
125130
ext_modules=[
126131
PkgConfigExtension(
127132
'ethtool',

0 commit comments

Comments
 (0)