diff --git a/python-statusio.spec b/python-statusio.spec index be7b968..baf2331 100644 --- a/python-statusio.spec +++ b/python-statusio.spec @@ -1,48 +1,48 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: statusio-python -Version: 1.0 +Version: 1.1 Release: %{?dist} Summary: Python Interface for Status.io API Group: Development/Libraries License: Apache License 2.0 URL: http://github.com/statusio/statusio-python BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: python >= 2.6, BuildRequires: python-setuptools %description This library provides a pure python interface for the Status.io API. %prep %setup -q %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT chmod a-x README %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README.rst # For noarch packages: sitelib %{python_sitelib}/* %changelog - Initial package. \ No newline at end of file diff --git a/setup.py b/setup.py index 77eae99..da441aa 100644 --- a/setup.py +++ b/setup.py @@ -1,38 +1,38 @@ #!/usr/bin/env python '''The setup and build script for the statusio-python library.''' import os from setuptools import setup, find_packages def read(*paths): """Build a file path from *paths* and return the contents.""" with open(os.path.join(*paths), 'r') as f: return f.read() setup( name='statusio-python', - version='1.0', + version='1.1', author='Status.io', author_email='hello@status.io', license='Apache License 2.0', url='https://github.com/statusio/statusio-python', keywords='status.io api statusio', description='A Python wrapper around the Status.io API', long_description=(read('README.rst')), packages=find_packages(exclude=['tests*']), install_requires=['future', 'requests'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Internet', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], )