Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T transonic
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fluiddyn
  • transonic
  • Issues
  • #30
Closed
Open
Created Oct 09, 2019 by Bitbucket Importer@bitbucket_importerMaintainer

Making sdist of a package using transonic.boost packages __pythran__ directories

Created originally on Bitbucket by avmo (Ashwin Vishnu)

Even if I clean the package, while running python setup.py sdist on fluidsht, it packages the __pythran__ directory containing:

$ make deploy
rm -rf build dist
find fluidsht -name "*.pyc" -delete
find fluidsht -name "__pycache__" -type d | xargs rm -rf
find fluidsht -name "__pythran__" -type d | xargs rm -rf
python setup.py sdist
INFO: Running fluidsht setup.py on platform linux
INFO:
      __ _       _     _     _     _
     / _| |     (_)   | |   | |   | |
    | |_| |_   _ _  __| |___| |__ | |_
    |  _| | | | | |/ _` / __| '_ \| __|
    | | | | |_| | | (_| \__ \ | | | |_
    |_| |_|\__,_|_|\__,_|___/_| |_|\__|
                         v. 0.0.4a0

INFO     /home/avmo/src/gfdyn/fluidsht/fluidsht/sht2d/__pythran__/operators.py written
INFO     /home/avmo/src/gfdyn/fluidsht/fluidsht/sht2d/__pythran__/operators.pythran written
INFO     File /home/avmo/src/gfdyn/fluidsht/fluidsht/sht2d/__pythran__/operators.py updated
WARNING  1 files created or updated needs to be pythranized
INFO: Extension has to be built: fluidsht/sht2d/__pythran__/operators.py -> operators.cpython-37m-x86_64-linux-gnu.so
running sdist
running egg_info
writing fluidsht.egg-info/PKG-INFO
writing dependency_links to fluidsht.egg-info/dependency_links.txt
writing requirements to fluidsht.egg-info/requires.txt
writing top-level names to fluidsht.egg-info/top_level.txt
writing manifest file 'fluidsht.egg-info/SOURCES.txt'
running check
warning: Check: missing required meta-data: url

creating fluidsht-0.0.4a0
creating fluidsht-0.0.4a0/.ci
creating fluidsht-0.0.4a0/doc
creating fluidsht-0.0.4a0/doc/install
creating fluidsht-0.0.4a0/fluidsht
creating fluidsht-0.0.4a0/fluidsht.egg-info
creating fluidsht-0.0.4a0/fluidsht/sht2d
creating fluidsht-0.0.4a0/fluidsht/sht2d/__pythran__
...
copying fluidsht/sht2d/__pythran__/operators.cpp -> fluidsht-0.0.4a0/fluidsht/sht2d/__pythran__
...

Should or can transonic avoid building while running sdist?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking