diff options
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | setup.py | 41 |
2 files changed, 42 insertions, 4 deletions
@@ -46,10 +46,7 @@ The following steps will guide you through setting up the OpenDC web server loca Make sure you have Python 2.7 installed (if not, get it [here](https://www.python.org/)), as well as pip (if not, get it [here](https://pip.pypa.io/en/stable/installing/)). Then run the following to install the requirements. ```bash -pip install flask -pip install flask_socketio -pip install oauth2client -pip install eventlet +python setup.py install ``` #### Get the code diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..1dd81d5a --- /dev/null +++ b/setup.py @@ -0,0 +1,41 @@ +from setuptools import setup +from codecs import open +from os import path + +# Get the long description from the README file +here = path.abspath(path.dirname(__file__)) +with open(path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + +setup( + name='opendc-web-server', + version='0.1.0', + + description='Python web server for the OpenDC project', + long_description=long_description, + + url='http://opendc.org', + + author='The OpenDC team', + author_email='opendc@atlarge-research.com', + + license='MIT', + + classifiers=[ + 'License :: OSI Approved :: MIT License', + + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + ], + + keywords='opendc datacenter simulation web-server', + + packages=['opendc'], + + install_requires=[ + 'flask', + 'flask_socketio', + 'oauth2client', + 'eventlet', + ], +) |
