Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
Doxyqml
Commits
11f9cfe0
Commit
11f9cfe0
authored
Dec 01, 2018
by
Aurelien Gateau
Browse files
Generate long_description from README.md
parent
1c1dab58
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
11f9cfe0
#!/usr/bin/env python3
#!/usr/bin/env python3
import
os
from
setuptools
import
setup
from
setuptools
import
setup
from
doxyqml
import
__version__
,
DESCRIPTION
from
doxyqml
import
__version__
,
DESCRIPTION
def
read_readme
():
root_dir
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
with
open
(
os
.
path
.
join
(
root_dir
,
'README.md'
),
encoding
=
'utf-8'
)
as
f
:
return
f
.
read
()
setup
(
name
=
"doxyqml"
,
setup
(
name
=
"doxyqml"
,
version
=
__version__
,
version
=
__version__
,
description
=
DESCRIPTION
,
description
=
DESCRIPTION
,
long_description
=
read_readme
(),
long_description_content_type
=
"text/markdown"
,
author
=
"Aurélien Gâteau"
,
author
=
"Aurélien Gâteau"
,
author_email
=
"mail@agateau.com"
,
author_email
=
"mail@agateau.com"
,
license
=
"BSD"
,
license
=
"BSD"
,
...
...
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