In the setup.py I write like this:
from distutils.core import setup setup(
I successfully installed my package for the first time. After a while, I update line 209 script as follows:
$ sed -n 209p chilin2/ChiLin2.py macs2_on_merged.param["control_opt"] = "-c " + macs2_on_merged.input["control"]
And then run setup.py again
$ sudo python3 setup.py install running install running build running build_py running build_scripts running install_lib running install_scripts changing mode of /usr/local/bin/ChiLin2.py to 755 running install_egg_info Removing /usr/local/lib/python3.2/site-packages/chilin2-0.1-py3.2.egg-info Writing /usr/local/lib/python3.2/site-packages/chilin2-0.1-py3.2.egg-info
However, I found that the script file was not modified.
$ sed -n 209p /usr/local/bin/ChiLin2.py macs2_on_merged["control_opt"] = "-c " + macs2_on_merged.input["control"]
I tried setup.py clean and then setup.py install again, but this does not solve the problem. Anyone have any ideas on this?
(I found that Chilin2.py in the package has an older timestamp than in the system directory. Is this the reason why setup.py install not updated? Is there a way to solve this problem?)
source share