X-Git-Url: https://git.mdrn.pl/fnpdeploy.git/blobdiff_plain/29714d0ceb75972088d7bc709e8e65061dfff48c..1c29803029b4ef469f0fa8d4ba0a243c511ea78d:/setup.py diff --git a/setup.py b/setup.py index d4abc96..26c80b3 100755 --- a/setup.py +++ b/setup.py @@ -8,42 +8,33 @@ import sys # Fabric needs Python 2. if sys.version_info[0] > 2: - from subprocess import check_call - - ve = os.environ.get('VIRTUAL_ENV') - if not ve: - print('Not in virtualenv!') - sys.exit() - subve = os.path.join(ve, 'fnpdeploy_ve') - check_call(['virtualenv', '--python', '/usr/bin/python2.7', subve]) - check_call([os.path.join(subve, 'bin/python')] + sys.argv) - install_requires = [] packages = [] package_data = {} scripts = ['bin/fab'] else: + install_requires = ['Fabric'] packages = ['fnpdeploy'] package_data = { 'fnpdeploy': ['templates/*.template'], } scripts = ['bin/git-archive-all.sh'] - install_requires = ['Fabric'] setup( name='fnpdeploy', - version='0.1', + version='0.2', author='Radek Czajka', author_email='radekczajka@nowoczesnapolska.org.pl', url = '', + install_requires=install_requires, packages=packages, package_data=package_data, scripts=scripts, - install_requires=install_requires, test_suite='nose.collector', tests_require=['nose'], license='LICENSE', description='.', long_description="", + zip_safe=False, )