setup.py 1.04 KB
import os
import sys
import subprocess
from setuptools import (
    setup,
    find_packages,
    )


here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
    README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
    CHANGES = f.read()


line = CHANGES.splitlines()[0]
version = line.split()[0]

requires = [
    'pytz',
    'sqlalchemy',
    'zope.sqlalchemy',
    'ziggurat_foundations',
    'psycopg2-binary',
    'pyramid',
    'opensipkd-jsonrpc @ '
    'git+https://git.opensipkd.com/sugiana/opensipkd-jsonrpc.git',
    ]


setup(
    name='opensipkd-base',
    version=version,
    description='Basis Aplikasi openSIPKD',
    long_description=README + '\n\n' + CHANGES,
    classifiers=[
        "Programming Language :: Python",
        "Framework :: Pylons",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
    keywords='web pyramid pylons',
    packages=find_packages(),
    zip_safe=False,
    install_requires=requires,
    )