Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

nickfrez / unb-python-client   python

Repository URL to install this package:

/ setup.py

"""
UNB Platform Python Client
==========================

A client for the UNB Platform API.

"""

import os
from setuptools import setup, find_packages


PROJECT_DIR = os.path.dirname(os.path.abspath(__file__))
VERSION_FILE_PATH = os.path.join(PROJECT_DIR, 'VERSION')
README_FILE_PATH = os.path.join(PROJECT_DIR, 'README.rst')


def read(path):
  if not os.path.isfile(path):
    raise EnvironmentError("File not found: %s" % path)
  with open(path) as f:
    return f.read().strip()


if __name__ == '__main__':
  setup(
    name='unb-python-client',
    version=read(VERSION_FILE_PATH),
    description=read(README_FILE_PATH),
    author='Nick Frezynski',
    author_email='nick@frez.me',
    url='https://bitbucket.org/unbservices/unb-python-client',
    license='MIT',
    # packages=find_packages(),
    packages=[
        'unb',
    ],
    include_package_data=True,
    install_requires=[
        'requests',
    ],
    # For a full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
      'Development Status :: 2 - Pre-Alpha',
      'Environment :: Console',
      'Environment :: Web Environment',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: MIT License',
      'Natural Language :: English',
      'Operating System :: OS Independent',
      'Programming Language :: Python',
      'Programming Language :: Python :: 2.7',
      'Topic :: Internet',
      'Topic :: Software Development :: Libraries',
    ],
  )