Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
torchani
Commits
91cec854
Unverified
Commit
91cec854
authored
Dec 12, 2018
by
Gao, Xiang
Committed by
GitHub
Dec 12, 2018
Browse files
Automatic versioning (#152)
parent
f73d8ae1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
docs/conf.py
docs/conf.py
+2
-2
setup.py
setup.py
+2
-1
torchani/__init__.py
torchani/__init__.py
+7
-0
No files found.
docs/conf.py
View file @
91cec854
...
...
@@ -5,8 +5,8 @@ project = 'TorchANI'
copyright
=
'2018, Roitberg Group'
author
=
'Xiang Gao'
version
=
'0.1'
release
=
'0.1alpha'
version
=
torchani
.
__version__
release
=
torchani
.
__version__
extensions
=
[
'sphinx.ext.autodoc'
,
...
...
setup.py
View file @
91cec854
...
...
@@ -2,7 +2,6 @@ from setuptools import setup, find_packages
setup_attrs
=
{
'name'
:
'torchani'
,
'version'
:
'0.1'
,
'description'
:
'PyTorch implementation of ANI'
,
'url'
:
'https://github.com/zasdfgbnm/torchani'
,
'author'
:
'Xiang Gao'
,
...
...
@@ -10,6 +9,8 @@ setup_attrs = {
'license'
:
'MIT'
,
'packages'
:
find_packages
(),
'include_package_data'
:
True
,
'use_scm_version'
:
True
,
'setup_requires'
:
[
'setuptools_scm'
],
'install_requires'
:
[
'torch-nightly'
,
'pytorch-ignite-nightly'
,
...
...
torchani/__init__.py
View file @
91cec854
...
...
@@ -31,6 +31,13 @@ from . import ignite
from
.
import
utils
from
.
import
neurochem
from
.
import
data
from
pkg_resources
import
get_distribution
,
DistributionNotFound
try
:
__version__
=
get_distribution
(
__name__
).
version
except
DistributionNotFound
:
# package is not installed
pass
__all__
=
[
'AEVComputer'
,
'EnergyShifter'
,
'ANIModel'
,
'Ensemble'
,
'ignite'
,
'utils'
,
'neurochem'
,
'data'
]
...
...
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