diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f570bd --- /dev/null +++ b/.gitignore @@ -0,0 +1,93 @@ +# Gedit autosave files: +*~ + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# IPython Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# dotenv +.env + +# virtualenv +.venv/ +venv/ +ENV/ + +# Spyder project settings +.spyderproject + +# Rope project settings +.ropeproject diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..51111f3 --- /dev/null +++ b/setup.py @@ -0,0 +1,39 @@ +#!/usr/bin/python +# -*- coding: UTF-8 -*- +from setuptools import setup, find_packages +import os + +reqs = [ +'mock', +'coveralls', +'sphinx', +'mako', +'pyramid', +'pyramid_mako', +'waitress', +] + +try: + import pypandoc + README = pypandoc.convert('README.md', 'rst') +except (IOError, ImportError): + README = '' + +setup(name='cogfusion', + version='0.0', + author='Daniel Kessler, Cogfusion Authors', + author_email='kesslerd@umich.edu', + description='...', + packages=find_packages(), + url = 'https://github.com/dankessler/cogfusion', + test_suite="tests", + zip_safe=False, + license='MIT', + long_description=README, + classifiers=[ + 'License :: OSI Approved :: MIT License', + 'Intended Audience :: Science/Research', + 'Topic :: Scientific/Engineering'], + install_requires=reqs, + include_package_data=True, + ) diff --git a/travis.yml b/travis.yml new file mode 100644 index 0000000..e18b2b5 --- /dev/null +++ b/travis.yml @@ -0,0 +1,8 @@ +language: + - python +install: + - "pip install -e ." +script: + - coverage run --source=niprov setup.py test +after_success: + - coveralls