setup.py 1.39 KB
import os
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 = []
prod_requires = [
    'sqlalchemy', 'pyramid_rpc', 'transaction', 'pyramid',
    'opensipkd-base @'
    'git+https://git.opensipkd.com/aa.gusti/base.git@ciamis#egg=opensipkd-base>=3.0.0',
]

dev_requires = []

setup(
    name='opensipkd_coba',
    version=version,
    url='',
    description='Test Application',
    long_description=README + '\n\n' + CHANGES,
    author='Agus Gustiana',
    author_email='aa.gustiana@gmail.com',
    classifiers=[
        "Programming Language :: Python",
        "Framework :: Pylons",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
    ],
    license='Apache Software License',
    keywords='web pyramid pylons base',
    packages=find_packages(),
    # package_dir={'': 'src'},
    zip_safe=False,
    install_requires=requires,
    tests_require=requires,
    extras_require={
        'dev': dev_requires,
        'prod':prod_requires,
    },
    include_package_data=True,
    entry_points="""\
      [console_scripts]
      initialize_coba_db = opensipkd.coba.scripts.initializedb:main
      """,
)