mirror of https://github.com/perkeep/perkeep.git
namespace problem & setup.py file used for pypi uploading
Change-Id: I52a21f602a4cda201f5b446a427d0c5098e3d701
This commit is contained in:
parent
d0d97a8b69
commit
fdcc33356d
|
@ -111,7 +111,7 @@ class CamliOp(object):
|
||||||
raise NameError("basepath must be in form '/bs'")
|
raise NameError("basepath must be in form '/bs'")
|
||||||
if basepath[-1] == '/':
|
if basepath[-1] == '/':
|
||||||
basepath = basepath[:-1]
|
basepath = basepath[:-1]
|
||||||
self._basepath = basepath
|
self.basepath = basepath
|
||||||
|
|
||||||
def _setup_connection(self):
|
def _setup_connection(self):
|
||||||
"""Sets up the HTTP connection."""
|
"""Sets up the HTTP connection."""
|
||||||
|
@ -156,7 +156,7 @@ class CamliOp(object):
|
||||||
|
|
||||||
self._setup_connection()
|
self._setup_connection()
|
||||||
if self.basepath:
|
if self.basepath:
|
||||||
fullpath = basepath + '/camli/stat'
|
fullpath = self.basepath + '/camli/stat'
|
||||||
else:
|
else:
|
||||||
fullpath = '/camli/stat'
|
fullpath = '/camli/stat'
|
||||||
self.connection.request(
|
self.connection.request(
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
from setuptools import setup
|
||||||
|
setup(
|
||||||
|
name='camlistore-client',
|
||||||
|
version='1.0.3dev',
|
||||||
|
author='Brett Slatkin',
|
||||||
|
author_email='bslatkin@gmail.com',
|
||||||
|
maintainer='Jack Laxson',
|
||||||
|
maintainer_email='jackjrabbit+camli@gmail.com',
|
||||||
|
description="Client library for Camlistore.",
|
||||||
|
url='http://camlistore.org',
|
||||||
|
license='Apache v2',
|
||||||
|
long_description='A convience library for python developers wishing to explore camlistore.',
|
||||||
|
packages=['camli'],
|
||||||
|
install_requires=['simplejson'],
|
||||||
|
classifiers=['Environment :: Console', 'Topic :: Internet :: WWW/HTTP']
|
||||||
|
)
|
Loading…
Reference in New Issue