S
steven
if i want a main executable py script installed on the /usr/local/bin,
what do i do? i tried the data_files options in the setup.py, but
nothing happened, no the expected file appeared in the resulted tarbar.
below is the setup.py:
setup(name='foopkg',
version='1.0',
author="Steven Woody",
author_email="(e-mail address removed)",
url="http://a.b.c",
packages=['foopkg'],
scripts=['scripts/*.py'],
data_files=[('/usr/local/bin', ['scripts/myprj.py'])]
)
can anyone tell me what is wrong?
thanks in advance!
-
narke
what do i do? i tried the data_files options in the setup.py, but
nothing happened, no the expected file appeared in the resulted tarbar.
below is the setup.py:
setup(name='foopkg',
version='1.0',
author="Steven Woody",
author_email="(e-mail address removed)",
url="http://a.b.c",
packages=['foopkg'],
scripts=['scripts/*.py'],
data_files=[('/usr/local/bin', ['scripts/myprj.py'])]
)
can anyone tell me what is wrong?
thanks in advance!
-
narke