shigeyukioba / matchernet

Apache License 2.0
1 stars 1 forks source link

Include missing files in sdist #59

Open thatch opened 4 years ago

thatch commented 4 years ago

Include missing files in sdist for #58

Tested with

++ mktemp -d
+ D=/tmp/tmp.E78NrJazcm
+ trap 'rm -rf /tmp/tmp.E78NrJazcm' EXIT
+ python -m venv /tmp/tmp.E78NrJazcm
+ python setup.py sdist -d /tmp/tmp.E78NrJazcm
running sdist
running egg_info
writing matchernet.egg-info/PKG-INFO
writing dependency_links to matchernet.egg-info/dependency_links.txt
writing requirements to matchernet.egg-info/requires.txt
writing top-level names to matchernet.egg-info/top_level.txt
reading manifest file 'matchernet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.md'
writing manifest file 'matchernet.egg-info/SOURCES.txt'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md

running check
creating matchernet-0.1.0
creating matchernet-0.1.0/log
creating matchernet-0.1.0/matchernet
creating matchernet-0.1.0/matchernet.egg-info
creating matchernet-0.1.0/matchernet/control
creating matchernet-0.1.0/matchernet/misc
copying files to matchernet-0.1.0...
copying LICENSE -> matchernet-0.1.0
copying MANIFEST.in -> matchernet-0.1.0
copying fordevelopers.md -> matchernet-0.1.0
copying overview.md -> matchernet-0.1.0
copying readme.md -> matchernet-0.1.0
copying requirements.txt -> matchernet-0.1.0
copying setup.py -> matchernet-0.1.0
copying log/__init__.py -> matchernet-0.1.0/log
copying log/logging_conf.py -> matchernet-0.1.0/log
copying matchernet/__init__.py -> matchernet-0.1.0/matchernet
copying matchernet/ekf.py -> matchernet-0.1.0/matchernet
copying matchernet/fn.py -> matchernet-0.1.0/matchernet
copying matchernet/matchernet.py -> matchernet-0.1.0/matchernet
copying matchernet/matchernet_null.py -> matchernet-0.1.0/matchernet
copying matchernet/observer.py -> matchernet-0.1.0/matchernet
copying matchernet/state.py -> matchernet-0.1.0/matchernet
copying matchernet/state_space_model_2d.py -> matchernet-0.1.0/matchernet
copying matchernet/utils.py -> matchernet-0.1.0/matchernet
copying matchernet.egg-info/PKG-INFO -> matchernet-0.1.0/matchernet.egg-info
copying matchernet.egg-info/SOURCES.txt -> matchernet-0.1.0/matchernet.egg-info
copying matchernet.egg-info/dependency_links.txt -> matchernet-0.1.0/matchernet.egg-info
copying matchernet.egg-info/requires.txt -> matchernet-0.1.0/matchernet.egg-info
copying matchernet.egg-info/top_level.txt -> matchernet-0.1.0/matchernet.egg-info
copying matchernet/control/__init__.py -> matchernet-0.1.0/matchernet/control
copying matchernet/control/control.py -> matchernet-0.1.0/matchernet/control
copying matchernet/control/ilqg.py -> matchernet-0.1.0/matchernet/control
copying matchernet/control/mpc.py -> matchernet-0.1.0/matchernet/control
copying matchernet/control/mpcenv.py -> matchernet-0.1.0/matchernet/control
copying matchernet/control/multi.py -> matchernet-0.1.0/matchernet/control
copying matchernet/misc/__init__.py -> matchernet-0.1.0/matchernet/misc
copying matchernet/misc/recording.py -> matchernet-0.1.0/matchernet/misc
Writing matchernet-0.1.0/setup.cfg
Creating tar archive
removing 'matchernet-0.1.0' (and everything under it)
+ cd /
+ /tmp/tmp.E78NrJazcm/bin/pip install /tmp/tmp.E78NrJazcm/matchernet-0.1.0.tar.gz
Processing /tmp/tmp.E78NrJazcm/matchernet-0.1.0.tar.gz
Collecting autograd==1.3 (from matchernet==0.1.0)
  Downloading https://files.pythonhosted.org/packages/23/12/b58522dc2cbbd7ab939c7b8e5542c441c9a06a8eccb00b3ecac04a739896/autograd-1.3.tar.gz
Collecting matplotlib==3.1.1 (from matchernet==0.1.0)
  Downloading https://files.pythonhosted.org/packages/12/d1/7b12cd79c791348cb0c78ce6e7d16bd72992f13c9f1e8e43d2725a6d8adf/matplotlib-3.1.1.tar.gz (37.8MB)
Collecting numpy==1.17.3 (from matchernet==0.1.0)
  Downloading https://files.pythonhosted.org/packages/3a/8f/f9ee25c0ae608f86180c26a1e35fe7ea9d71b473ea7f54db20759ba2745e/numpy-1.17.3-cp38-cp38-manylinux1_x86_64.whl (20.5MB)
Collecting BriCA2==0.5.0 (from matchernet==0.1.0)
  Downloading https://files.pythonhosted.org/packages/e6/b0/b1fb50f75b6e6047ddfae5125970ca279feec282a80771d7b91fb191acd6/BriCA2-0.5.0.tar.gz
Collecting opencv-python==4.0.0.21 (from matchernet==0.1.0)
  ERROR: Could not find a version that satisfies the requirement opencv-python==4.0.0.21 (from matchernet==0.1.0) (from versions: 3.4.8.29, 3.4.9.31, 3.4.9.33, 4.1.2.30, 4.2.0.32, 4.2.0.34)
ERROR: No matching distribution found for opencv-python==4.0.0.21 (from matchernet==0.1.0)
WARNING: You are using pip version 19.2.3, however version 20.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
++ rm -rf /tmp/tmp.E78NrJazcm
uchihashikenshi commented 4 years ago

Thank you for your contribution! I wonder if you should simply rename readme.md to README.md, what do you think?

thatch commented 4 years ago

That would be the simplest fix, if you also use a recent version of setuptools (>=34) when you create the sdist