Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Working alternate install location
from setuptools.command.install import install
from setuptools import setup
class root_usr_install(install):
prefix = '/local'
def __init__(self, *args, **kwargs):
install.__init__(self, *args, **kwargs)
self.prefix = '/usr'
setup(name='newdispatch',
version='1.2.1',
description='Async Handler and Event Dispatcher',
url='http://github.com/Alphadelta14/python-newdispatch',
author='Alpha',
author_email='alpha@projectpokemon.org',
license='MIT',
packages=['dispatch', 'dispatch.events', 'dispatch.async'],
cmdclass={'install': root_usr_install},
zip_safe=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.