-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add version and authors to metadata.json
- Loading branch information
Showing
5 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
{ | ||
"description": "Reusable AiiDA Lab widgets for applications in the AiiDA Lab.", | ||
"title": "AiiDA Lab Widgets" | ||
"title": "AiiDA Lab Widgets", | ||
"description": "Reusable widgets for applications in the AiiDA Lab.", | ||
"authors": "AiiDA Team", | ||
"version": "0.2.0a2", | ||
"logo": "miscellaneous/logos/aiidalab.png", | ||
"state": "stable" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
#!/usr/bin/env python | ||
|
||
from __future__ import absolute_import | ||
from setuptools import setup, find_packages | ||
import json | ||
|
||
# pylint: disable=syntax-error | ||
if __name__ == '__main__': | ||
# Provide static information in setup.json | ||
# such that it can be discovered automatically | ||
with open('metadata.json', 'r') as info: | ||
metadata = json.load(info) | ||
|
||
with open('setup.json', 'r') as info: | ||
kwargs = json.load(info) | ||
|
||
setup( | ||
packages=find_packages(), | ||
long_description=open('README.md').read(), | ||
long_description_content_type='text/markdown', | ||
author=metadata['authors'], | ||
description=metadata['description'], | ||
version=metadata['version'], | ||
**kwargs) |