Overhaul the PIP build system so it's less messy on disk during builds, and avoids packaging unnecessary files.

This commit is contained in:
Dave Page
2016-06-15 17:09:05 +01:00
parent d4e5d9c4f4
commit 29fbbb581f
4 changed files with 101 additions and 92 deletions

View File

@@ -18,13 +18,13 @@ from os import path
"""This script is used to help generate PIP packages"""
# Get the requirements list for the current version of Python
req_file='requirements_py' + str(sys.version_info[0]) + '.txt'
req_file='../requirements_py' + str(sys.version_info[0]) + '.txt'
with open(req_file) as reqf:
required = reqf.read().decode("utf-8").splitlines()
# Get the app version
modl = imp.load_source('APP_VERSION', 'web/config.py')
modl = imp.load_source('APP_VERSION', '../web/config.py')
setup(
name='pgadmin4',