Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
Alain Takoudjou
slapos.toolbox
Commits
41888571
Commit
41888571
authored
May 27, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
toolbox do not require (yet) argparse.
parent
09271f30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
setup.py
setup.py
+1
-9
No files found.
setup.py
View file @
41888571
...
@@ -10,14 +10,6 @@ long_description = open("README.txt").read() + "\n" + \
...
@@ -10,14 +10,6 @@ long_description = open("README.txt").read() + "\n" + \
for
f
in
sorted
(
glob
.
glob
(
os
.
path
.
join
(
'slapos'
,
'README.*.txt'
))):
for
f
in
sorted
(
glob
.
glob
(
os
.
path
.
join
(
'slapos'
,
'README.*.txt'
))):
long_description
+=
'
\
n
'
+
open
(
f
).
read
()
+
'
\
n
'
long_description
+=
'
\
n
'
+
open
(
f
).
read
()
+
'
\
n
'
additional_install_requires
=
[]
# Even if argparse is available in python2.7, some python2.7 installations
# do not have it, so checking python version is dangerous
try
:
import
argparse
except
ImportError
:
additional_install_requires
.
append
(
'argparse'
)
setup
(
name
=
name
,
setup
(
name
=
name
,
version
=
version
,
version
=
version
,
description
=
"SlapOS toolbox."
,
description
=
"SlapOS toolbox."
,
...
@@ -39,7 +31,7 @@ setup(name=name,
...
@@ -39,7 +31,7 @@ setup(name=name,
'setuptools'
,
# namespaces
'setuptools'
,
# namespaces
'slapos.core'
,
# as it provides library for slap
'slapos.core'
,
# as it provides library for slap
'xml_marshaller'
,
# needed to dump information
'xml_marshaller'
,
# needed to dump information
]
+
additional_install_requires
,
],
zip_safe
=
False
,
# proxy depends on Flask, which has issues with
zip_safe
=
False
,
# proxy depends on Flask, which has issues with
# accessing templates
# accessing templates
entry_points
=
{
entry_points
=
{
...
...
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