Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nomad-FAIR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
nomad-FAIR
Commits
05299e5a
Commit
05299e5a
authored
4 years ago
by
Markus Scheidgen
Browse files
Options
Downloads
Patches
Plain Diff
Created a pypi deployable sdist.
parent
2ccd8a4f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!128
V0.8.1
,
!126
Release
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
LICENSE
+0
-0
0 additions, 0 deletions
LICENSE
README.md
+3
-2
3 additions, 2 deletions
README.md
dependencies/parsers/phonopy
+1
-1
1 addition, 1 deletion
dependencies/parsers/phonopy
setup.py
+11
-1
11 additions, 1 deletion
setup.py
with
15 additions
and
4 deletions
LICENSE
.txt
→
LICENSE
+
0
−
0
View file @
05299e5a
File moved
This diff is collapsed.
Click to expand it.
README.md
+
3
−
2
View file @
05299e5a
...
...
@@ -26,12 +26,12 @@ You can install the `nomad` Python package from source distribution with pip. Pl
note, that this will only install part of NOMAD's dependencies that will only allow
your to use NOMAD's client library, e.g. to access the NOMAD Archive.
```
pip install nomad
pip install nomad
-lab
```
To
**use the NOMAD parsers for example**
, install the
`parsing`
extra:
```
pip install nomad[parsing]
pip install nomad
-lab
[parsing]
nomad parse --show-backend <your-file-to-parse>
```
...
...
@@ -48,6 +48,7 @@ Omitted versions are plain bugfix releases with only minor changes and fixes.
### v0.8.1
-
switched to support Python 3.7
-
client library as pypi package
`nomad-lab`
### v0.8.0
-
new underlying datamodel that allows to maintain multiple domains
...
...
This diff is collapsed.
Click to expand it.
phonopy
@
99f57632
Compare
d054d15c
...
99f57632
Subproject commit
d054d15c08b6da05d8afded4410474bdea999717
Subproject commit
99f576323efc2aa8ede5b63b108d9fe6901a8795
This diff is collapsed.
Click to expand it.
setup.py
+
11
−
1
View file @
05299e5a
...
...
@@ -43,6 +43,7 @@ requirements.txt where specific comments are used to assign an extra to requirem
ignore_extra_requires
=
[
'
optimade
'
]
'''
Dependencies where the extra_requires should not be added
'''
def
parse_requirements
():
'''
Parses the requirements.txt file to extras install and extra requirements.
...
...
@@ -179,7 +180,7 @@ def compile_dependency_setup_kwargs(paths, **kwargs):
# 3. requires
local_install_requires
=
set
()
if
n
ot
name
in
ignore_extra_requires
:
if
n
ame
not
in
ignore_extra_requires
:
for
extra_require
in
local_kwargs
.
get
(
'
extras_require
'
,
{}).
values
():
for
require
in
extra_require
:
local_install_requires
.
add
(
require
)
...
...
@@ -234,17 +235,26 @@ def setup_kwargs():
from
nomad
import
config
install_requires
,
extras_require
=
parse_requirements
()
with
open
(
"
README.md
"
,
"
r
"
)
as
fh
:
long_description
=
fh
.
read
()
return
dict
(
name
=
'
nomad-lab
'
,
author
=
'
NOMAD Laboratory
'
,
author_email
=
'
markus.scheidgen@physik.hu-berlin.de
'
,
url
=
'
https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR
'
,
version
=
config
.
meta
.
version
,
license
=
'
APACHE 2.0
'
,
description
=
'
The NOvel MAterials Discovery (NOMAD) Python package
'
,
long_description
=
long_description
,
long_description_content_type
=
"
text/markdown
"
,
package_dir
=
{
''
:
'
./
'
},
packages
=
[
'
nomad.%s
'
%
pkg
for
pkg
in
find_packages
(
'
./nomad
'
)]
+
[
'
nomad
'
],
setup_requires
=
[
'
pip
'
,
'
setuptools
'
,
'
wheel
'
,
'
fastentrypoints
'
,
'
numpy
'
,
'
pyyaml
'
],
install_requires
=
install_requires
,
extras_require
=
extras_require
,
include_package_data
=
True
,
python_requires
=
'
>=3.6
'
,
entry_points
=
'''
[console_scripts]
nomad=nomad.cli:run_cli
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment