emerald-geomodelling / EmeraldTriangles

Transformations for triangle meshes build on top of scipy.spatial.Delaunay
MIT License
1 stars 0 forks source link

pointing to Github version of triangle in setup.py prevents publishing to pypi #23

Open Duke-of-Lizard opened 1 week ago

Duke-of-Lizard commented 1 week ago

@eddjharrison, I see you added this to setup.py five months ago: https://github.com/emerald-geomodelling/EmeraldTriangles/blame/c0fd07d6dcdcb68db9f960f7f1d5f2d3e038bb39/setup.py#L45

When I try publishing the newest version of emetraltriangles to pypi, I get this error:

Uploading emeraldtriangles-0.1.3.tar.gz
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 28.1/28.1 kB • 00:00 • 70.4 MB/s
INFO     Response from https://upload.pypi.org/legacy/:                                                                                                                                                                                                                                                                    
         400 Can't have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.                                                                                                                                       
INFO     <html>                                                                                                                                                                                                                                                                                                            
          <head>                                                                                                                                                                                                                                                                                                           
           <title>400 Can't have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.</title>                                                                                                                      
          </head>                                                                                                                                                                                                                                                                                                          
          <body>                                                                                                                                                                                                                                                                                                           
           <h1>400 Can't have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.</h1>                                                                                                                            
           The server could not comply with the request since it is either malformed or otherwise incorrect.<br/><br/>                                                                                                                                                                                                     
         Can&#x27;t have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.                                                                                                                                      

          </body>                                                                                                                                                                                                                                                                                                          
         </html>                                                                                                                                                                                                                                                                                                           
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/                                                                                                                                                                                                                                                   
         Can't have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.      
Duke-of-Lizard commented 1 week ago

These pages may have relevant info: https://packaging.python.org/en/latest/specifications/dependency-specifiers/ https://packaging.python.org/en/latest/specifications/core-metadata/