Skip to content

Commit

Permalink
Move resources to algoliasearch to work-around this mess...
Browse files Browse the repository at this point in the history
  • Loading branch information
redox committed Sep 17, 2014
1 parent c660a17 commit 1ae1650
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion algoliasearch/algoliasearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def newFunc(*args, **kwargs):
return newFunc


POOL_MANAGER = urllib3.PoolManager(cert_reqs='CERT_REQUIRED', ca_certs=os.path.join(os.path.dirname(__file__), "../resources/ca-bundle.crt"))
POOL_MANAGER = urllib3.PoolManager(cert_reqs='CERT_REQUIRED', ca_certs=os.path.join(os.path.split(__file__)[0], "resources/ca-bundle.crt"))

# Exception launched by Algolia Client when an error occured
class AlgoliaException(Exception):
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
description='Algolia Search API Client for Python',
url='https://github.com/algolia/algoliasearch-client-python',
packages = ["algoliasearch"],
package_dir={'': '.'},
package_data={'': ['resources/*.crt']},
package_dir={'algoliasearch': 'algoliasearch'},
package_data={'algoliasearch': ['resources/*.crt']},
include_package_data = True,
install_requires = ['urllib3 >= 1.8.2'],
keywords = ['algolia', 'pyalgolia', 'search', 'backend', 'hosted', 'cloud', 'full-text search', 'faceted search'],
Expand Down

0 comments on commit 1ae1650

Please sign in to comment.