Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
5307b30a
Commit
5307b30a
authored
Jan 10, 2014
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed including all necessary resources in the distribution
parent
6166c76c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
MANIFEST.in
MANIFEST.in
+3
-6
setup.py
setup.py
+4
-4
No files found.
MANIFEST.in
View file @
5307b30a
include MANIFEST.in TODO run
include MANIFEST.in TODO run
include bin/blink
include bin/blink
recursive-include resources *.ui
graft doc
recursive-include resources/chat style.xml *.style *.html *.css *.png *.svg *.jpg *.py
graft resources
recursive-include resources/icons *.png *.svg *.ico *.mng
prune resources/icons/work
recursive-include resources/sounds *.wav
recursive-include resources/tls *.crt
recursive-include doc *.txt *.html install.*
setup.py
View file @
5307b30a
...
@@ -13,6 +13,9 @@ def get_version():
...
@@ -13,6 +13,9 @@ def get_version():
def
find_packages
(
toplevel
):
def
find_packages
(
toplevel
):
return
[
directory
.
replace
(
os
.
path
.
sep
,
'.'
)
for
directory
,
subdirs
,
files
in
os
.
walk
(
toplevel
)
if
'__init__.py'
in
files
]
return
[
directory
.
replace
(
os
.
path
.
sep
,
'.'
)
for
directory
,
subdirs
,
files
in
os
.
walk
(
toplevel
)
if
'__init__.py'
in
files
]
def
list_resources
(
directory
,
destination_directory
):
return
[(
dir
.
replace
(
directory
,
destination_directory
),
[
os
.
path
.
join
(
dir
,
file
)
for
file
in
files
])
for
dir
,
subdirs
,
files
in
os
.
walk
(
directory
)]
setup
(
name
=
"blink"
,
setup
(
name
=
"blink"
,
version
=
get_version
(),
version
=
get_version
(),
author
=
"AG Projects"
,
author
=
"AG Projects"
,
...
@@ -29,10 +32,7 @@ setup(name = "blink",
...
@@ -29,10 +32,7 @@ setup(name = "blink",
"Programming Language :: Python"
"Programming Language :: Python"
],
],
packages
=
find_packages
(
'blink'
),
packages
=
find_packages
(
'blink'
),
data_files
=
[(
'share/blink'
,
glob
.
glob
(
'resources/*.ui'
)),
data_files
=
list_resources
(
'resources'
,
destination_directory
=
'share/blink'
),
(
'share/blink/icons'
,
list
(
chain
(
*
(
glob
.
glob
(
'resources/icons/*.
%
s'
%
ext
)
for
ext
in
(
'png'
,
'svg'
,
'mng'
,
'ico'
))))),
(
'share/blink/sounds'
,
glob
.
glob
(
'resources/sounds/*.wav'
))
],
scripts
=
[
'bin/blink'
]
scripts
=
[
'bin/blink'
]
)
)
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