Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RQL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
RQL
Commits
0e3ca3b0425f
Commit
0e3ca3b0425f
authored
14 years ago
by
Sylvain Thénault
Browse files
Options
Downloads
Plain Diff
default is stable
parents
d0c3ec1701b9
53f6dc67f88c
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.hgtags
+2
-0
2 additions, 0 deletions
.hgtags
ChangeLog
+11
-0
11 additions, 0 deletions
ChangeLog
__pkginfo__.py
+1
-1
1 addition, 1 deletion
__pkginfo__.py
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
setup.py
+25
-3
25 additions, 3 deletions
setup.py
with
45 additions
and
4 deletions
.hgtags
+
2
−
0
View file @
0e3ca3b0
...
...
@@ -58,3 +58,5 @@
88b739e85c615fc41a964f39e853fe77aaf3f207 rql-debian-version-0.26.4-1
7a1df18b3a3ed41aa49d4baf10246a8e2e65a7d6 rql-version-0.26.6
23bd1f36ec77f30cd525327d408ef6836f88eb24 rql-debian-version-0.26.6-1
3c59bf663ec78dad82016b43f58348d5e35058ad rql-version-0.27.0
0a5a70c34c65fccaf64603613d5d295b332e85cb rql-debian-version-0.27.0-1
This diff is collapsed.
Click to expand it.
ChangeLog
+
11
−
0
View file @
0e3ca3b0
ChangeLog for RQL
=================
2010-10-13 -- 0.27.0
* select.undefine_variable properly cleanup solutions (and restore them on
undo)
* fix potential crash in Referenceable.get_description
* introduce make_constant_restriction function, useful to build a
restriction without adding it yet to the tree
2010-09-10 -- 0.26.6
* enhance bad rql query detection with ordered distinct (can't use distinct
if an attribute is selected and we sort on another attribute)
...
...
This diff is collapsed.
Click to expand it.
__pkginfo__.py
+
1
−
1
View file @
0e3ca3b0
...
...
@@ -20,7 +20,7 @@
__docformat__
=
"
restructuredtext en
"
modname
=
"
rql
"
numversion
=
(
0
,
2
6
,
6
)
numversion
=
(
0
,
2
7
,
0
)
version
=
'
.
'
.
join
(
str
(
num
)
for
num
in
numversion
)
license
=
'
LGPL
'
...
...
This diff is collapsed.
Click to expand it.
debian/changelog
+
6
−
0
View file @
0e3ca3b0
rql (0.27.0-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 13 Oct 2010 07:55:35 +0200
rql (0.26.6-1) unstable; urgency=low
* new upstream release
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
25
−
3
View file @
0e3ca3b0
...
...
@@ -30,7 +30,7 @@
if
os
.
environ
.
get
(
'
NO_SETUPTOOLS
'
):
raise
ImportError
()
from
setuptools
import
setup
from
setuptools.command
import
install_lib
from
setuptools.command
import
install_lib
,
build_ext
USE_SETUPTOOLS
=
1
except
ImportError
:
from
distutils.core
import
setup
...
...
@@ -34,7 +34,7 @@
USE_SETUPTOOLS
=
1
except
ImportError
:
from
distutils.core
import
setup
from
distutils.command
import
install_lib
from
distutils.command
import
install_lib
,
build_ext
USE_SETUPTOOLS
=
0
...
...
@@ -161,6 +161,27 @@
dest
=
join
(
self
.
install_dir
,
base
,
directory
)
export
(
directory
,
dest
,
verbose
=
False
)
class
MyBuildExt
(
build_ext
.
build_ext
):
"""
Extend build_ext command to pass through compilation error.
In fact, if gecode extension fail, rql will use logilab.constraint
"""
def
run
(
self
):
from
distutils.errors
import
CompileError
try
:
build_ext
.
build_ext
.
run
(
self
)
except
CompileError
:
import
traceback
traceback
.
print_traceback
()
sys
.
stderr
.
write
(
'
================================
\n
'
'
The compilation of the gecode C extension failed.
'
'
rql will use logilab.constraint which is a pure
'
'
python implementation.
'
'
Please note that the C extension run faster.
'
'
So, install a compiler then install rql again with
'
'
the
"
force
"
option for better performance.
\n
'
'
================================
\n
'
)
pass
def
install
(
**
kwargs
):
"""
setup entry point
"""
if
USE_SETUPTOOLS
:
...
...
@@ -193,7 +214,8 @@
scripts
=
ensure_scripts
(
scripts
),
data_files
=
data_files
,
ext_modules
=
ext_modules
,
cmdclass
=
{
'
install_lib
'
:
MyInstallLib
},
cmdclass
=
{
'
install_lib
'
:
MyInstallLib
,
'
build_ext
'
:
MyBuildExt
},
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment