Mentions légales du service

Skip to content
Snippets Groups Projects
Unverified Commit 29742565 authored by gdurif's avatar gdurif Committed by GitHub
Browse files

Merge pull request #14 from getspams/remove_doc_copy

Remove doc copy during installation
parents bdcb2a81 e34db5ac
No related branches found
No related tags found
No related merge requests found
...@@ -168,24 +168,6 @@ def get_extension(): ...@@ -168,24 +168,6 @@ def get_extension():
return [spams_wrap] return [spams_wrap]
def mkhtml(d=None, base='sphinx'):
if d is None:
d = base
else:
d = os.path.join(base, d)
if not os.path.isdir(base):
return []
hdir = d
l1 = os.listdir(hdir)
l = []
for s in l1:
s = os.path.join(d, s)
if not os.path.isdir(s):
l.append(s)
return l
# project root directory # project root directory
this_directory = os.path.abspath(os.path.dirname(__file__)) this_directory = os.path.abspath(os.path.dirname(__file__))
...@@ -221,12 +203,6 @@ opts = dict( ...@@ -221,12 +203,6 @@ opts = dict(
'tests/test_prox.py', 'tests/test_prox.py',
'tests/test_utils.py']), 'tests/test_utils.py']),
('doc', ['doc/doc_spams.pdf']), ('doc', ['doc/doc_spams.pdf']),
('doc/sphinx/_sources',
mkhtml(d='_sources', base='doc/sphinx')),
('doc/sphinx/_static', mkhtml(d='_static',
base='doc/sphinx')),
('doc/sphinx', mkhtml(base='doc/sphinx')),
('doc/html', mkhtml(base='doc/html')),
('tests', ['data/boat.png', 'data/lena.png'])], ('tests', ['data/boat.png', 'data/lena.png'])],
include_package_data=True, include_package_data=True,
zip_safe=True zip_safe=True
......
2.6.5.0 2.6.5.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment