Finally, I could install shotgun-api3 by pip. But it raise an error.
pip install shotgun-api3
FileNotFoundError: [Errno 2] No such file or directory: 'LICENSE'
I think the reason is you didn't add LICENSE file to package_data but read it in setup.py.
EDIT
If I use git clone to download the source package, there is no problem. But if I download the released package, it can't work. So the problem comes from include_package_data, because the released package doesn't have .git folder.
In our company, we have our own pypi source, so I build shotgun-api3 package first.
Then I copy shotgun_api3-3.2.1.tar.gz to our pypi source directory.
Finally, I could install shotgun-api3 by pip. But it raise an error.
I think the reason is you didn't add LICENSE file to package_data but read it in setup.py.
EDIT
If I use git clone to download the source package, there is no problem. But if I download the released package, it can't work. So the problem comes from
include_package_data
, because the released package doesn't have.git
folder.