setup.py 1.59 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 = [
    "wheel",
    "setuptools",
    "pip",
    "WebOb",
    "certifi",
    "pyramid",
    "pyramid_rpc",
    "venusian",
    "translationstring",
    "plaster",
    "hupper",
    "urllib3",
    "idna",
    "pytz",
    "requests",
    "pyreportjasper",
    #"z3c.rml",
    # "pikepdf",
    "qrcode",
    "papyrus",
    "fdf",
    "pypdf"
]

dev_requires = [
     'pyramid_debugtoolbar',
     'pytest',
]

setup(
    name='opensipkd-tools',
    version=version,
    description='Tools openSIPKD',
    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(),
    zip_safe=False,
    install_requires=requires,
    tests_require=requires,
    extras_require={
        'dev': dev_requires,
    },
    package_data={'opensipkd.tools': [
        'locale/*',
        'locale/id/*',
        'locale/id/LC_MESSAGE/*',
        ]},
    data_files=[],
    include_package_data=True,
    entry_points="""\
        [console_scripts]
           """,
)