setup.py 860 Bytes
import os

from setuptools import (
    setup,
)

here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md")) 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 = [
    'pyramid-rpc',
    'python-dateutil',
]
dev = [
    'ipython',
]

setup(
    name="irul-pyfunc",
    version=version,
    description="Helper functions for python/pyramid",
    long_description=README + "\n\n" + CHANGES,
    author="Khairul Anwar",
    author_email="irul.sylva@gmail.com",
    license="PostgreSQL License",
    # packages=find_packages(),
    package_dir={'': '.'},
    install_requires=requires,
    extras_require={
        'dev': dev
    },
    zip_safe=False,
    entry_points={
        "console_scripts": []
    },
)