Skip to content

Commit

Permalink
General improvements to provide pip package
Browse files Browse the repository at this point in the history
- optim/ is now module.
- Added __version__ variable to set version number.
- setup.py is importing __version__ to set version.
  • Loading branch information
muammar committed Jul 31, 2019
1 parent 0a2a7e0 commit 52bd471
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions ml4chem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@


__all__ = ["Potentials"]
__version__ = "0.0.1"
Empty file added ml4chem/optim/__init__.py
Empty file.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import setuptools
import ml4chem

try:
with open("README.md", "r") as fh:
Expand All @@ -11,9 +12,11 @@
long_description = fh.read()


version = ml4chem.__version__

setuptools.setup(
name="ml4chem",
version="0.0.0",
version=version,
author="Muammar El Khatib",
author_email="muammarelkhatib@gmail.com",
description="Machine learning for chemistry",
Expand Down

0 comments on commit 52bd471

Please sign in to comment.