Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
OWL2YAMS
Commits
f085a61f7523
Commit
f085a61f
authored
Nov 26, 2021
by
Fabien Amarger
Browse files
fix long_description for pypi publish
parent
1fed7fba02f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
f085a61f
#!/usr/bin/env python
# coding: utf-8
import
os.path
as
osp
from
pathlib
import
Path
from
setuptools
import
find_packages
,
setup
ROOT
=
Path
(
__file__
).
parent
...
...
@@ -4,9 +6,14 @@
from
pathlib
import
Path
from
setuptools
import
find_packages
,
setup
ROOT
=
Path
(
__file__
).
parent
here
=
osp
.
abspath
(
osp
.
dirname
(
__file__
))
# Get the long description from the relevant file
with
open
(
osp
.
join
(
here
,
"README.md"
),
encoding
=
"utf-8"
)
as
f
:
long_description
=
f
.
read
()
distname
=
"owl2yams"
version
=
"1.0.0"
license
=
"LGPL"
description
=
"A tools to transforms owl into yams schema"
...
...
@@ -9,8 +16,7 @@
distname
=
"owl2yams"
version
=
"1.0.0"
license
=
"LGPL"
description
=
"A tools to transforms owl into yams schema"
long_description
=
(
ROOT
/
"README.md"
).
read_text
()
author
=
"Fabien Amarger"
author_email
=
"famarger@logilab.fr"
requires
=
{
...
...
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