-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from N3PDF/bump_version_pyproject
Bump version and add pyproject.toml
- Loading branch information
Showing
16 changed files
with
129 additions
and
132 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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[build-system] | ||
requires = ["setuptools >= 61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "vegasflow" | ||
version = "1.4.0" | ||
description="Hardware agnostic Monte Carlo integration" | ||
authors = [ | ||
{name = "S. Carrazza", email = "[email protected]"}, | ||
{name = "J.Cruz-Martinez", email = "[email protected]"} | ||
] | ||
classifiers=[ | ||
'Operating System :: Unix', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Topic :: Scientific/Engineering', | ||
'Topic :: Scientific/Engineering :: Physics', | ||
] | ||
dependencies = [ | ||
"joblib", | ||
"numpy", | ||
"tensorflow>2.2" | ||
] | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
'sphinx_rtd_theme', | ||
'recommonmark', | ||
'sphinxcontrib-bibtex', | ||
] | ||
examples = [ | ||
'cffi', | ||
'pineappl', | ||
'pdfflow', | ||
'scipy' | ||
] | ||
benchmark = [ | ||
'vegas', # Lepage's Vegas for benchmarking | ||
] | ||
distribute = [ | ||
'dask', | ||
'distributed', | ||
'dask-jobqueue', | ||
] | ||
|
||
[tool.black] | ||
line-length = 100 | ||
skip_magic_trailing_comma = true | ||
|
||
[tool.isort] | ||
atomic = true | ||
line_length = 120 | ||
profile = "black" # https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#custom-configuration | ||
skip_gitignore = true | ||
known_first_party = ["bgtrees"] | ||
force_sort_within_sections = true | ||
|
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,10 +1,10 @@ | ||
"""Monte Carlo integration with Tensorflow""" | ||
|
||
from vegasflow.configflow import int_me, float_me, run_eager, DTYPE, DTYPEINT | ||
from vegasflow.configflow import DTYPE, DTYPEINT, float_me, int_me, run_eager | ||
from vegasflow.plain import PlainFlow, plain_sampler, plain_wrapper | ||
|
||
# Expose the main interfaces | ||
from vegasflow.vflow import VegasFlow, vegas_wrapper, vegas_sampler | ||
from vegasflow.plain import PlainFlow, plain_wrapper, plain_sampler | ||
from vegasflow.vflowplus import VegasFlowPlus, vegasflowplus_wrapper, vegasflowplus_sampler | ||
from vegasflow.vflow import VegasFlow, vegas_sampler, vegas_wrapper | ||
from vegasflow.vflowplus import VegasFlowPlus, vegasflowplus_sampler, vegasflowplus_wrapper | ||
|
||
__version__ = "1.3.0" | ||
__version__ = "1.4.0" |
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
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
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
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
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
Oops, something went wrong.