#3 Miscellaneous changes
Merged 8 years ago by yangl1996. Opened 8 years ago by pingou.
pingou/libpagure misc_changes  into  master

file modified
+2
@@ -1,1 +1,3 @@ 

+ # -*- coding: utf-8 -*-

+ 

  from .libpagure import *

file modified
+5 -1
@@ -1,3 +1,6 @@ 

+ # -*- coding: utf-8 -*-

+ 

+ 

  import requests

  import logging

  
@@ -14,7 +17,8 @@ 

  LOG.addHandler(hand)

  

  

- class Pagure:

+ class Pagure(object):

+ 

      # TODO: add error handling

      # TODO: write some unit tests

      def __init__(

file modified
+15
@@ -1,4 +1,8 @@ 

+ # -*- coding: utf-8 -*-

+ 

  from distutils.core import setup

+ 

+ 

  setup(

      name='libpagure',

      packages=['libpagure'],
@@ -9,7 +13,18 @@ 

      url='https://github.com/yangl1996/libpagure',

      keywords=['pagure', 'api', 'library'],

      classifiers=[

+         'Development Status :: 3 - Alpha',

+         'Intended Audience :: Developers',

+         'Intended Audience :: Information Technology',

+         'License :: OSI Approved :: GNU General Public License v2 '

+         'or later (GPLv2+)',

          'Programming Language :: Python',

+         'Programming Language :: Python :: 2',

+         'Programming Language :: Python :: 2.6',

+         'Programming Language :: Python :: 2.7'

+         'Programming Language :: Python :: 3',

+         'Topic :: Software Development :: Libraries',

+ 

      ],

      license='GNU General Public License v2.0',

      install_requires=['requests'],