Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cosmic_dustbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Glatzle
cosmic_dustbox
Commits
999eb514
Commit
999eb514
authored
Feb 23, 2019
by
Martin Glatzle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize metadata.
parent
e32ac0d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
11 deletions
+19
-11
metadata.py
metadata.py
+9
-0
setup.py
setup.py
+10
-11
No files found.
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
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