From 70ab8a63b61509dd4b29037a532a4328a5a16f9b Mon Sep 17 00:00:00 2001
From: Chris Maffeo <cmaffeo2@illinois.edu>
Date: Tue, 28 Aug 2018 11:09:50 -0500
Subject: [PATCH] Added LICENSE, README and setup.py

---
 LICENSE                                 | 34 +++++++++++++++++++++++++
 README.md                               |  3 +++
 dnarbd/examples/segmentmodel_example.py |  7 +++--
 setup.py                                | 21 +++++++++++++++
 4 files changed, 61 insertions(+), 4 deletions(-)
 create mode 100644 LICENSE
 create mode 100644 README.md
 create mode 100644 setup.py

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..91ff313
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,34 @@
+University of Illinois Open Source License
+Copyright 2010-2016 Aksimentiev Group,
+All rights reserved.
+
+Developed by: Aksimentiev Group
+University of Illinois at Urbana-Champaign
+http://bionano.phsyics.illinois.edu
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the Software), to deal with
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to
+do so, subject to the following conditions:
+
+- Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimers.
+
+- Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimers in the documentation
+and/or other materials provided with the distribution.
+
+- Neither the names of the Aksimentiev Group, University of Illinois at
+Urbana-Champaign, nor the names of its contributors may be used to endorse or
+promote products derived from this Software without specific prior written
+permission.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS WITH THE SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c325ac4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# DNArbd: multiresolution coarse-grained simulations of DNA nanotechnology
+
+...
diff --git a/dnarbd/examples/segmentmodel_example.py b/dnarbd/examples/segmentmodel_example.py
index 3da167b..4d22fc2 100644
--- a/dnarbd/examples/segmentmodel_example.py
+++ b/dnarbd/examples/segmentmodel_example.py
@@ -1,12 +1,11 @@
 import numpy as np
-from segmentmodel import SegmentModel, SingleStrandedSegment, DoubleStrandedSegment
-from nbPot import nbDnaScheme
+from dnarbd import SegmentModel, SingleStrandedSegment, DoubleStrandedSegment
 
 """
 Example of using segmentmodel to construct a CG
 
-May need to execute after running:
-PATH=/home/cmaffeo2/anaconda3/bin:$PATH; source activate cadnano 
+May need to update your shell PATH variable before running this script, e.g.:
+PATH=/home/cmaffeo2/miniconda3/bin:$PATH
 
 """
 
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..64a3c31
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,21 @@
+import setuptools
+
+with open("README.md", "r") as fh:
+    long_description = fh.read()
+
+setuptools.setup(
+    name="dnarbd",
+    version="0.1dev",
+    author="Christopher Maffeo",
+    author_email="cmaffeo2@illinois.edu",
+    description="Tools for simulating DNA nanotechnology with ARBD",
+    long_description=long_description,
+    long_description_content_type="text/markdown",
+    url="https://gitlab.engr.illinois.edu/tbgl/tools/dnarbd",
+    packages=setuptools.find_packages(),
+    classifiers=(
+        "Programming Language :: Python :: 3",
+        "License :: UIUC Open source License",
+        "Operating System :: OS Independent",
+    ),
+)
-- 
GitLab