Add a "setup.py" for pip-installing from GitHub.

You can now install Copycat into your Python virtualenv without even
checking out this repository! Just run this command:

    pip install -e git+git://github.com/Quuxplusone/co.py.cat.git#egg=copycat

To check out a specific branch,

    pip install -e git+git://github.com/Quuxplusone/co.py.cat.git@branch#egg=copycat
This commit is contained in:
Arthur O'Dwyer
2017-04-18 17:33:20 -07:00
parent a3b977846e
commit 65124fa45d
4 changed files with 66 additions and 20 deletions

23
setup.py Normal file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env python
from setuptools import setup
readme = open('README.md').read()
requirements = [l.strip() for l in open('requirements.txt').readlines()]
setup(
name='copycat',
version='0.0.1',
packages=['copycat'],
install_requires=[l.strip() for l in open('requirements.txt').readlines()],
package_data={'': ['LICENSE']},
# metadata for upload to PyPI
author="The Fluid Analogies Research Group, J Alan Brogan, and Arthur O'Dwyer",
author_email='arthur.j.odwyer@gmail.com',
description="Python implementation of Douglas Hofstadter's Copycat.",
license='MIT license',
long_description=open('README.md').read(),
keywords='ai analogy copycat farg fargitecture hofstadter slipnet',
url='https://github.com/Quuxplusone/co.py.cat',
)