我正在创建一个Python3软件包。目录结构为
x = str(input())
y = "!" * (len(x) - 4) + x[-4:]
print(x)
mypack/
setup.py
mypack/
__init__.py
bright.py
button.py
tests/
test_main.py
的内容:
setup.py
然后我运行以下命令:
from setuptools import setup, find_packages
setup(
name="mypack",
version="1",
packages=find_packages(),
)
最后一条命令生成的输出为
$ python3 setup.py sdist
$ virtualenv -p python3 /tmp/python
$ /tmp/python/bin/python3 setup.py install
但是,当我查看 ...
Processing mypack-1-py3.7.egg
Copying mypack-1-py3.7.egg to /tmp/python/lib/python3.7/site-packages
Adding mypack 1 to easy-install.pth file
Installed /tmp/python/lib/python3.7/site-packages/mypack-1-py3.7.egg
Processing dependencies for mypack==1
Finished processing dependencies for mypack==1
时,我没有没有在任何地方看到文件/tmp/python
或bright.py
。他们在哪里?