pexpect / ptyprocess

Run a subprocess in a pseudo terminal
https://ptyprocess.readthedocs.io/en/latest/
Other
217 stars 71 forks source link

Revert "Flit packaging" #32

Open takluyver opened 8 years ago

takluyver commented 8 years ago

Reverts pexpect/ptyprocess#29

jquast commented 8 years ago

There is an option of merging https://github.com/pexpect/pexpect/pull/327 instead

stephenross commented 7 years ago

It appears that getting metadata using the builtin pkg_resources library to do so does not support the flit formatting. Is there any possibility of getting this PR merged in so that it can be analyzed with pkg_resources?

takluyver commented 7 years ago

Once the package is installed, pkg_resources should, as far as I know, be able to see it. What are you trying to do?

stephenross commented 7 years ago

I am trying to do pkg_resources.get_distribution(package)._get_metadata('top_level.txt') to get the name of the package so that I can check the name of the package vs the name used with pip to parse my requirements file and check the packages. The first item that is returned by that function is the importable name, except in the case of this package, where there is no data returned.

takluyver commented 7 years ago

It should install metadata, but as far as I'm aware, top_level.txt is not specified in any kind of standard, it's just what setuptools does.