Skip to content

Commit 4def4a6

Browse files
committed
setup.py: Modernize build
Disable testing directly via setuptools. It's no longer functional.
1 parent a5b3304 commit 4def4a6

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

inotify/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
__version__ = '0.2.10'

inotify/resources/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build

setup.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
import setuptools
22
import os
33

4-
import inotify
5-
6-
APP_PATH = os.path.dirname(inotify.__file__)
7-
8-
with open(os.path.join(APP_PATH, 'resources', 'README.rst')) as f:
4+
with open(os.path.join('inotify', 'resources', 'README.rst')) as f:
95
_LONG_DESCRIPTION = f.read()
106

11-
with open(os.path.join(APP_PATH, 'resources', 'requirements.txt')) as f:
7+
with open(os.path.join('inotify', 'resources', 'requirements.txt')) as f:
128
_INSTALL_REQUIRES = list(map(lambda s: s.strip(), f.readlines()))
139

1410
_DESCRIPTION = \
1511
"An adapter to Linux kernel support for inotify directory-watching."
1612

1713
setuptools.setup(
1814
name='inotify',
19-
version=inotify.__version__,
15+
version='0.2.10',
2016
description=_DESCRIPTION,
2117
long_description=_LONG_DESCRIPTION,
2218
classifiers=[
@@ -36,6 +32,4 @@
3632
'resources/requirements.txt',
3733
]
3834
},
39-
test_suite='nose.collector',
40-
tests_require=['nose'],
4135
)

0 commit comments

Comments
 (0)