mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Basic setup.py script for API
Refer to the API version via an import. (imported from commit ef28f4edc0d519b4c6a49ef414279685a3d38202)
This commit is contained in:
		@@ -32,6 +32,9 @@ import optparse
 | 
			
		||||
 | 
			
		||||
from ConfigParser import SafeConfigParser
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
__version__ = "0.1.0"
 | 
			
		||||
 | 
			
		||||
# Check that we have a recent enough version
 | 
			
		||||
# Older versions don't provide the 'json' attribute on responses.
 | 
			
		||||
assert(requests.__version__ >= '0.12.1')
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										25
									
								
								api/setup.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								api/setup.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
# -*- coding: utf-8 -*-
 | 
			
		||||
 | 
			
		||||
import glob
 | 
			
		||||
import humbug
 | 
			
		||||
 | 
			
		||||
from distutils.core import setup
 | 
			
		||||
 | 
			
		||||
setup(name='humbug',
 | 
			
		||||
      version=humbug.__version__,
 | 
			
		||||
      description='Bindings for the Humbug message API',
 | 
			
		||||
      author='Humbug, Inc.',
 | 
			
		||||
      author_email='humbug@humbughq.com',
 | 
			
		||||
      classifiers=[
 | 
			
		||||
          'Development Status :: 3 - Alpha',
 | 
			
		||||
          'Environment :: Web Environment',
 | 
			
		||||
          'Intended Audience :: Developers',
 | 
			
		||||
          'License :: OSI Approved :: MIT License',
 | 
			
		||||
          'Topic :: Communications :: Chat',
 | 
			
		||||
      ],
 | 
			
		||||
      url='https://humbughq.com/dist/api/',
 | 
			
		||||
      packages=['humbug'],
 | 
			
		||||
      data_files=[('examples', glob.glob('examples/*'))],
 | 
			
		||||
      scripts=glob.glob('bin/*'),
 | 
			
		||||
     )
 | 
			
		||||
		Reference in New Issue
	
	Block a user