Coder Social home page Coder Social logo

django-heroku-memcacheify's Introduction

Hey, I'm Randall!

It's great to meet you. I'm a long-time software developer, speaker, author, and entrepreneur.

Randall's GitHub stats

django-heroku-memcacheify's People

Contributors

alexlod avatar benrobster avatar ferrix avatar omerfi avatar pydanny avatar randalldegges-okta-2 avatar rdegges avatar saulshanabrook avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-heroku-memcacheify's Issues

New release for PyPi?

My company won't let us use private repos without special permission. It would be great if this could get pushed to PyPi so we can start using it (we use MemcachedCloud as you can tell). I could do a PR with updates to the README, etc. if that would simplify things -- then all you have to do is make the distro.

Attach to local memcached instance without username or password.

I am running a django app on a Vagrant VM (Ubuntu 12.04) that has memcached running locally. I want the connection string to be localhost:11211 with no username or password set, however the memcacheify.py script requires that both have a non-null value, otherwise it will default to using local memory cached. Is there any way around this?

New pypi release and version bump?

Any chance we could get a pypi release and version bump? The last one was v0.4 on 12-5-2012. Might be nice to close out 2013 with a new release. We've been using master for months now in production with no issues. Would be nice to use pypi as opposed to the git repo.

Install error

Hello,

I'm unable to install the project from pip. Here is what I'm doing, what I'm using and the results.

Python 2.7.2
Django 1.3.1
Ubuntu 11.04
Memcached is installed locally.

Am I doing something wrong? Is there something I need to install before running pip install?

When I run:

$ pip install django-heroku-memcacheify

I get the following:

Requirement already satisfied (use --upgrade to upgrade): django-heroku-memcacheify in ./lib/python2.7/site-packages

Requirement already satisfied (use --upgrade to upgrade): Django>=1.2 in ./lib/python2.7/site-packages (from django-heroku-memcacheify)

Requirement already satisfied (use --upgrade to upgrade): django-pylibmc-sasl==0.2.4 in ./lib/python2.7/site-packages (from django-heroku-memcacheify)

Downloading/unpacking pylibmc==1.2.3 (from django-heroku-memcacheify)

Running setup.py egg_info for package pylibmc

Installing collected packages: pylibmc

Running setup.py install for pylibmc

building '_pylibmc' extension

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DUSE_ZLIB -I/usr/include/python2.7 -c _pylibmcmodule.c -o build/temp.linux-i686-2.7/_pylibmcmodule.o -fno-strict-aliasing

In file included from _pylibmcmodule.c:34:0:

_pylibmcmodule.h:42:36: fatal error: libmemcached/memcached.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

Complete output from command /home/myusername/.venvs/myapp/bin/python -c "import setuptools;__file__='/home/myusername/.venvs/myapp/build/pylibmc/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-v3QnHq-record/install-record.txt --install-headers /home/myusername/.venvs/myapp/include/site/python2.7:

running install

running build

running build_py

running build_ext

building '_pylibmc' extension

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DUSE_ZLIB -I/usr/include/python2.7 -c _pylibmcmodule.c -o build/temp.linux-i686-2.7/_pylibmcmodule.o -fno-strict-aliasing

In file included from _pylibmcmodule.c:34:0:

_pylibmcmodule.h:42:36: fatal error: libmemcached/memcached.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1


Command /home/myusername/.venvs/myapp/bin/python -c "import setuptools;file='/home/myusername/.venvs/myapp/build/pylibmc/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-v3QnHq-record/install-record.txt --install-headers /home/myusername/.venvs/myapp/include/site/python2.7 failed with error code 1 in /home/myusername/.venvs/myapp/build/pylibmc

Storing complete log in /home/myusername/.pip/pip.log

(myapp)myusername@sprout-ubuntu-1110:~/.venvs/myapp$

Installation failure

I'm trying to setup memcachier on Heroku, and their documentation linked to this project.

I ran pip install django-heroku-memcacheify on OS X 10.7.4, with Python 2.7.1, in an active virtuanenv. The error log shows a lot of skipped links and Not Founds when trying to install django-pylibmc-sasl.

Here's the full (and very long) error log - http://pastebin.com/EtYfWGeN

Edit: The module does appears to have been added to pip, however. I'll leave this issue open for your review, and will follow-up in a bit after confirming whether the mdule works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.