Skip to content

Commit

Permalink
use setup (#5)
Browse files Browse the repository at this point in the history
* use setup

* bump version numbers

* Update index.rst

Co-authored-by: Neil Wu <[email protected]>
  • Loading branch information
Josh Anibal and ewu63 authored Jun 16, 2020
1 parent 3da8608 commit c8401b2
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ Contents:
``multiPointSparse`` is a helper module for doing multipoint
optimizations. The documentaion ``multiPoint`` is given below.

To install, first clone the repo, then go into the root directory and type::

pip install .

For stability we recommend cloning or checking out a tagged release.


.. toctree::
:maxdepth: 2
Expand Down
3 changes: 3 additions & 0 deletions __init__.py → multipoint/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
__version__ = '1.2.0'


from .multiPoint import multiPoint
from .multiPointSparse import multiPointSparse
from .multiPointSparse import createGroups
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
35 changes: 35 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
from setuptools import setup
import re

__version__ = re.findall(
r"""__version__ = ["']+([0-9\.]*)["']+""",
open('multipoint/__init__.py').read(),
)[0]

setup(name='multipoint',
version=__version__,


description="Provides utilities to facilitates distributed multipoint optimization with the MACH framework.",
long_description="""Please see the [documentation](https://mdolab-multipoint.readthedocs-hosted.com) for API documentation.
To locally build the documentation, enter the `doc` folder and enter `make html` in terminal.
You can then view the built documentation in the `_build` folder.
""",
long_description_content_type="text/markdown",
keywords='multi-point optimization',
author='',
author_email='',
url='https://github.com/mdolab/multipoint',
license='Apache License Version 2.0',
packages=[
'multipoint',
],
install_requires=[
'numpy>=1.16.4',
'mpi4py>=3.0.2'
],
classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python"]
)
File renamed without changes.

0 comments on commit c8401b2

Please sign in to comment.