Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn package into empty wrapper for wilson.wcxf
- Loading branch information
David Straub
committed
Oct 31, 2019
1 parent
a1c8c4c
commit 16db4dc
Showing
47 changed files
with
17 additions
and
15,063 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,38 +1,18 @@ | ||
from setuptools import setup, find_packages | ||
|
||
with open('README.md') as f: | ||
with open("README.md") as f: | ||
LONG_DESCRIPTION = f.read() | ||
|
||
setup(name='wcxf', | ||
version='1.6.2', | ||
author='David M. Straub, Jason Aebischer', | ||
author_email='david.straub@tum.de, jason.aebischer@tum.de', | ||
license='MIT', | ||
url='https://wcxf.github.io', | ||
description='Python API and command line interface for the Wilson Coefficient exchange format', | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type='text/markdown', | ||
packages=find_packages(), | ||
package_data={ | ||
'wcxf': ['data/*.yml', | ||
'data/*.yaml', | ||
'data/*.json', | ||
'bases/*.json', | ||
'bases/child/*.json', | ||
] | ||
}, | ||
install_requires=['pyyaml', 'ckmutil>=0.3.2', 'pandas', | ||
'wilson'], | ||
extras_require={ | ||
'testing': ['nose'], | ||
}, | ||
entry_points={ | ||
'console_scripts': [ | ||
'wcxf = wcxf.cli:wcxf_cli', | ||
'wcxf2eos = wcxf.cli:eos', | ||
'wcxf2dsixtools = wcxf.cli:wcxf2dsixtools', | ||
'dsixtools2wcxf = wcxf.cli:dsixtools2wcxf', | ||
'wcxf2smeftsim = wcxf.cli:smeftsim', | ||
] | ||
}, | ||
) | ||
setup( | ||
name="wcxf", | ||
version="2.0", | ||
author="David M. Straub, Jason Aebischer", | ||
author_email="david.straub@tum.de, jason.aebischer@tum.de", | ||
license="MIT", | ||
url="https://wcxf.github.io", | ||
description="Python API and command line interface for the Wilson Coefficient exchange format", | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type="text/markdown", | ||
packages=find_packages(), | ||
install_requires=["wilson"], | ||
) |
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,22 +1 @@ | ||
from .classes import * | ||
from . import matchers | ||
from . import translators | ||
from wilson import util | ||
|
||
# read all EFTs and bases from the wcxf-bases submodule | ||
|
||
import os | ||
import glob | ||
|
||
_root = os.path.abspath(os.path.dirname(__file__)) | ||
all_efts = glob.glob(os.path.join(_root, 'bases', '*.eft.json')) | ||
all_bases = glob.glob(os.path.join(_root, 'bases', '*.basis.json')) | ||
child_bases = glob.glob(os.path.join(_root, 'bases', 'child', '*.basis.json')) | ||
|
||
for eft in all_efts: | ||
with open(eft, 'r') as f: | ||
EFT.load(f) | ||
|
||
for basis in all_bases + child_bases: | ||
with open(basis, 'r') as f: | ||
Basis.load(f) | ||
from wilson.wcxf import * |
Oops, something went wrong.