File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ BuildRequires: systemd
17
17
18
18
BuildRequires: python3-devel
19
19
BuildRequires: python3-setuptools
20
- #BuildRequires: python3-flake8
21
20
Requires: python3
22
21
Requires: python3-daemon
23
22
Requires: python3-sdnotify
Original file line number Diff line number Diff line change @@ -3,16 +3,14 @@ tag_build =
3
3
tag_date = 0
4
4
tag_svn_revision = 0
5
5
6
- [flake8]
7
- max-line-length = 120
8
6
[pep8]
9
7
max-line-length = 120
10
8
11
9
[sdist]
12
- dist-dir = /var/tmp/ rpmbuild/SOURCES/
10
+ dist-dir = rpmbuild/SOURCES/
13
11
14
12
[create_rpm]
15
- rpm-top-dir = /var/tmp/ rpmbuild
13
+ rpm-top-dir = rpmbuild
16
14
spec-file-path = buildrpm/oci-utils.spec
17
15
18
16
[sync_rpm]
Original file line number Diff line number Diff line change @@ -335,6 +335,10 @@ def run(self):
335
335
raise DistutilsExecError ("rpmbuild execution failed" )
336
336
337
337
338
+ if sys .version_info .major < 3 :
339
+ print ('Only python verison 3 or above is supported' )
340
+ sys .exit (1 )
341
+
338
342
setup (
339
343
name = "oci-utils" ,
340
344
version = "0.11.0" ,
@@ -347,7 +351,7 @@ def run(self):
347
351
url = "http://github.com/oracle/oci-utils/" ,
348
352
package_dir = {'' : 'lib' },
349
353
packages = find_packages ('lib' ),
350
- setup_requires = ["flake8" ],
354
+ setup_requires = [],
351
355
long_description = read ('README' ),
352
356
test_suite = "tests" ,
353
357
data_files = [(os .path .join (sys .prefix , 'libexec' ),
You can’t perform that action at this time.
0 commit comments