title: entry point in setup.py
body: <pre><code>/project  
  ../project/script.py  
  ../project/__init__.py  (This is a blank File)
  setup.py  
  other files like README.
  
  #script.py
  def function1():
      print "hi"
  
  def main():
      function1()
  
  if __name__ == '__main__':
      main()
  
  
  #setup.py
  setup(
  name='project',
  version= __version__,
  long_description=markdown_contents,
  packages=['project'],
  entry_points={
    'console_scripts': [ 'project=project:main']
    }
  )
  </code></pre>
  
  <p>I am able to to pip install and stuff. but when I run project once the package is installed ,
  I get <em>init</em>_.pyc'> has no 'main' attribute<br>
  I just want to run the functions in main of script.py when I run project command on the box.  What am I doing wrong ?</p>