mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Overhaul the PIP build system so it's less messy on disk during builds, and avoids packaging unnecessary files.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user