Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rubygemsrecipe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
rubygemsrecipe
Commits
ca1c9a96
Commit
ca1c9a96
authored
Oct 26, 2023
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix setup.py regarding pathlib
parent
b314315b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
setup.py
setup.py
+5
-4
No files found.
setup.py
View file @
ca1c9a96
#!/usr/bin/env python
#!/usr/bin/env python
import
os
import
os
import
sys
from
setuptools
import
setup
from
setuptools
import
setup
...
@@ -11,6 +12,9 @@ name = 'rubygemsrecipe'
...
@@ -11,6 +12,9 @@ name = 'rubygemsrecipe'
def
read
(
*
rnames
):
def
read
(
*
rnames
):
return
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
*
rnames
)).
read
()
return
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
*
rnames
)).
read
()
test_requires
=
[
'mock'
]
if
sys
.
version_info
<
(
3
,
4
):
test_requires
.
append
(
'pathlib'
)
setup
(
name
=
name
,
setup
(
name
=
name
,
version
=
version
,
version
=
version
,
...
@@ -30,10 +34,7 @@ setup(name=name,
...
@@ -30,10 +34,7 @@ setup(name=name,
'slapos.recipe.build'
,
'slapos.recipe.build'
,
],
],
extras_require
=
{
extras_require
=
{
'test'
:
[
'test'
:
test_requires
'mock'
,
'pathlib; python_version<"3.4"'
,
],
},
},
entry_points
=
{
entry_points
=
{
'zc.buildout'
:
[
'default = rubygems:Recipe'
]
'zc.buildout'
:
[
'default = rubygems:Recipe'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment