Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Python project package generation method and device

A project package and project technology, applied in the field of Python project package generation, can solve problems such as Python project package installation failure

Active Publication Date: 2018-09-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF12 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that only the code file of the Python project is packaged in the Python project package, which may easily cause the installation failure of the Python project package during deployment, the embodiment of the present invention provides a method and device for generating a Python project package

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Python project package generation method and device
  • Python project package generation method and device
  • Python project package generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0033] Please refer to figure 1 , which shows a schematic diagram of the Python project package generation system involved in the embodiment of the present invention. The system includes: a developer terminal 110 , a version management server 120 , a packaging server 130 and a pip community server 140 .

[0034] The developer terminal 110 is one terminal, or several terminals. For example, the developer terminal 110 includes a terminal used by developer A, a terminal used by developer B, and a terminal used by developer C. The developer terminal 110 is used to send the developed code and / or files related to the Python project to the version management server 120 . Optionally, the Python project can also be called Python software, Pyt...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Python project package generation method and device, and belongs to the technical field of computers. The method includes reading the code file, resource file and dependencyinformation of a Python project; packaging the code file, the resource file and the dependency information to obtain a corresponding code package, a corresponding resource package and a correspondingdependency package; and generating a Python project package according to the code package, the resource package and the dependency package, the Python project package being used for deploying the Python project. The Python project package can be generated according to the code package, the resource package and the dependency package, so that the code file of the Python project can be included in the Python project package and the resource file and dependency information needed when the Python project runs normally are also included; and therefore, the situations of installation failure causedby downloading failure or wrong downloaded dependency information can be avoided, and to successfully deploy the Python project can be ensured.

Description

technical field [0001] The embodiment of the present invention relates to the field of computer technology, in particular to a method and device for generating a Python project package. Background technique [0002] The Python language is an object-oriented, interpreted computer programming language. With the increasing application of the Python language in the industry, a variety of Python projects have emerged. The project code of the developed Python project will be packaged into a Python project package, and the Python project package will be provided to users for standardized installation. [0003] In the related art, the software package management system pip is provided for the Python project, and the generation method of the Python project package is as follows: pip obtains the version information of the specified Python project from SVN (Subversion, version management tool), and reads the code file according to the version information , and use the official packag...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F8/61
CPCG06F8/60G06F8/71
Inventor 王俊豪
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products