Drop Python2 and Django1 support
This commit is contained in:
11
setup.py
11
setup.py
@@ -30,12 +30,7 @@ class CreatePythonEnvironment(MyCommand):
|
||||
def run():
|
||||
python_bin = sys.executable if sys.executable else 'python'
|
||||
python_ver = sys.version_info.major
|
||||
if python_ver == 2:
|
||||
path = os.path.join('env', 'python2')
|
||||
symlink_path = os.path.join('env', 'python')
|
||||
venv_module = 'virtualenv'
|
||||
prompt = '(py2) '
|
||||
elif python_ver == 3:
|
||||
if python_ver == 3:
|
||||
path = os.path.join('env', 'python3')
|
||||
symlink_path = os.path.join('env', 'python')
|
||||
venv_module = 'venv'
|
||||
@@ -67,7 +62,7 @@ class CreatePythonEnvironment(MyCommand):
|
||||
|
||||
setup(
|
||||
name='django-deploy',
|
||||
version='0.2.dev0',
|
||||
version='0.3.dev0',
|
||||
description='A helper to deploy reusable django apps into a django project.',
|
||||
long_description=long_description(),
|
||||
long_description_content_type='text/x-rst',
|
||||
@@ -95,7 +90,7 @@ setup(
|
||||
'django-deploy.py = django_deploy:main',
|
||||
],
|
||||
},
|
||||
python_requires='>=2.7',
|
||||
python_requires='>=3',
|
||||
install_requires=[
|
||||
'django',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user