Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
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
Model registry
Operate
Environments
Monitor
Incidents
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
Sophie Herold
gajim
Commits
83d36352
Commit
83d36352
authored
7 years ago
by
André
Browse files
Options
Downloads
Patches
Plain Diff
Update setup.py and .gitignore
parent
372c1f99
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+4
-0
4 additions, 0 deletions
.gitignore
setup.py
+3
-4
3 additions, 4 deletions
setup.py
with
7 additions
and
4 deletions
.gitignore
+
4
−
0
View file @
83d36352
...
...
@@ -12,12 +12,16 @@ data/org.gajim.Gajim.appdata.xml
data/org.gajim.Gajim.desktop
libtool
po/.intltool-merge-cache
data/gajim-remote.desktop
po/gajim.pot
po/POTFILES
po/stamp-it
stamp-h1
Makefile
__pycache__/
build/
dist/
gajim.egg-info/
src/gtk/
win/_build_root
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
4
View file @
83d36352
...
...
@@ -56,7 +56,7 @@ def build_trans(build_cmd):
data_files
=
build_cmd
.
distribution
.
data_files
for
lang
in
ALL_LINGUAS
:
po_file
=
os
.
path
.
join
(
'
po
'
,
lang
+
'
.po
'
)
mo_file
=
os
.
path
.
join
(
cwd
,
'
mo
'
,
lang
,
'
LC_MESSAGES
'
,
'
gajim.mo
'
)
mo_file
=
os
.
path
.
join
(
cwd
,
'
build
'
,
'
mo
'
,
lang
,
'
LC_MESSAGES
'
,
'
gajim.mo
'
)
mo_dir
=
os
.
path
.
dirname
(
mo_file
)
if
not
(
os
.
path
.
isdir
(
mo_dir
)
or
os
.
path
.
islink
(
mo_dir
)):
os
.
makedirs
(
mo_dir
)
...
...
@@ -84,7 +84,7 @@ def build_man(build_cmd):
data_files
=
build_cmd
.
distribution
.
data_files
for
man
in
[
'
gajim.1
'
,
'
gajim-history-manager.1
'
,
'
gajim-remote.1
'
]:
filename
=
os
.
path
.
join
(
'
data
'
,
man
)
newdir
=
os
.
path
.
join
(
cwd
,
'
man
'
)
newdir
=
os
.
path
.
join
(
cwd
,
'
build
'
,
'
man
'
)
if
not
(
os
.
path
.
isdir
(
newdir
)
or
os
.
path
.
islink
(
newdir
)):
os
.
makedirs
(
newdir
)
...
...
@@ -103,9 +103,8 @@ def build_man(build_cmd):
f_out
.
writelines
(
f_in
)
log
.
info
(
'
Compiling %s >> %s
'
,
filename
,
man_file_gz
)
src
=
cwd
+
'
/man
'
+
'
/
'
+
man
+
'
.gz
'
target
=
'
share/man/man1
'
data_files
.
append
((
target
,
[
src
]))
data_files
.
append
((
target
,
[
man_file_gz
]))
def
build_intl
(
build_cmd
):
...
...
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