rscder-pub/keygen.py
2023-07-26 20:53:08 +08:00

19 lines
557 B
Python

import os
# os.environ['PROJ_LIB'] = os.path.join(os.path.dirname(__file__), 'share/proj')
# os.environ['GDAL_DATA'] = os.path.join(os.path.dirname(__file__), 'share')
os.environ['ECD_BASEDIR'] = os.path.join( os.path.dirname(__file__))
BASE_DIR = os.path.join( os.path.dirname(__file__))
from rscder.gui.keygen import LicenseGen
from PyQt5.QtWidgets import QApplication
import sys
def main():
app =QApplication(sys.argv)
license = LicenseGen()
license.show()
sys.exit(app.exec_())
if __name__ == "__main__":
main()