Created
August 25, 2015 21:49
-
-
Save Alphadelta14/0533fa96be2bf95592b4 to your computer and use it in GitHub Desktop.
Working alternate install location
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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