-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
32 lines (26 loc) · 1.04 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""Farnsworth is the database wrapper for Mechanical Phish."""
from distutils.core import setup
import platform
dependencies = ["git+https://github.com/mechaphish/peewee.git#egg=peewee-99.9.9"]
requires = ["peewee>=2.8.1",
"retrying>=1.3.0",
# tests
"python-dotenv>=0.3.0",
"nose>=1.3.7",
"nose-timer>=0.5.0",
"coverage>=4.0.3"]
if platform.python_implementation() == "PyPy":
requires.append("psycopg2cffi")
else:
requires.append("psycopg2>=2.6.1")
setup(name='farnsworth',
version="1.0.0",
packages=["farnsworth", "farnsworth.actions", "farnsworth.actions.common",
"farnsworth.mixins", "farnsworth.models", "farnsworth.models.concerns"],
entry_points={'console_scripts': ["farnsworth=farnsworth.__main__:main"]},
install_requires=requires,
dependency_links=dependencies,
description="Knowledge base of the Shellphish CRS",
url="https://github.com/mechaphish/farnsworth")