Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Glatzle
cosmic_dustbox
Commits
999eb514
Commit
999eb514
authored
Feb 23, 2019
by
Martin Glatzle
Browse files
Externalize metadata.
parent
e32ac0d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
metadata.py
0 → 100644
View file @
999eb514
with
open
(
'README.md'
)
as
fh
:
long_desc
=
fh
.
read
()
name
=
'cosmic_dustbox'
version
=
'0.1.dev0'
authors
=
'Martin Glatzle, Ayman Noureldin'
author_email
=
'findessp@yandex.ru'
description
=
'Toolbox for cosmic dust.'
url
=
'https://github.com/findesgh/'
+
name
license
=
'GPL-3.0'
setup.py
View file @
999eb514
from
setuptools
import
setup
import
metadata
as
md
with
open
(
'README.md'
)
as
fh
:
long_desc
=
fh
.
read
()
name
=
'cosmic_dustbox'
setup
(
name
=
name
,
version
=
'0.1.dev0'
,
author_email
=
'findessp@yandex.ru'
,
description
=
'Toolbox for cosmic dust.'
,
long_description
=
long_desc
,
name
=
md
.
name
,
version
=
md
.
version
,
author
=
md
.
authors
,
author_email
=
md
.
author_email
,
description
=
md
.
description
,
long_description
=
md
.
long_desc
,
long_description_content_type
=
'text/markdown'
,
url
=
'https://github.com/findesgh/'
+
name
,
license
=
'GPL-3.0'
,
packages
=
[
name
],
url
=
md
.
url
,
license
=
md
.
license
,
packages
=
[
md
.
name
],
install_requires
=
[
'numpy'
,
'astropy'
,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment