[BangPypers] Problem in setup.py file
Priyal Jain
jainpriyal168 at gmail.com
Wed Mar 4 06:03:54 CET 2015
Hi,
My setup.py file is:
from setuptools import setup, find_packages
setup(name = "abc",
version = "0.1",
description = "Python version of abc Administrator",
author = "Priyal Jain",
author_email = "jainpriyal168 at gmail.com",
license="Apache 2.0",
keywords="python automation API",
url="http://www.github.com/Jainpriyal",
package_dir={'': 'lib'},
packages=find_packages('lib'),
package_data={
'abc.configs': ['*.yml'],
},
scripts = ["abc"],
#install_requires=install_reqs,
install_requires = ['junos-eznc'],
zip_safe= False
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
],
)
On Tue, Mar 3, 2015 at 8:51 PM, kracekumar ramaraju <
kracethekingmaker at gmail.com> wrote:
> Hi
>
> Probably Sharing setup.py may help. Django project does similar thing
> https://github.com/django/django/blob/master/setup.py and works.
>
> (directory)➜ ~ pip install django
> (directory)➜ ~ ls
> /Users/kracekumar/Envs/directory/lib/python2.7/site-packages/django
> __init__.py __init__.pyc apps bin conf
> contrib core db dispatch forms http
> middleware shortcuts.py shortcuts.pyc template
> templatetags test utils views
>
>
>
> On Tue, Mar 3, 2015 at 4:10 PM, Priyal Jain <jainpriyal168 at gmail.com>
> wrote:
>
> > Hi,
> >
> > I want to install my project as a directory rather than as a zipfile. How
> > to write setup.py file to install project as a directory.
> >
> > I tried by giving flag, zip_safe = False inside setup() from setuptools,
> > but it is still installing my project as .egg not as directory.
> >
> >
> > Thanks
> > Regards
> > Priyal
> > _______________________________________________
> > BangPypers mailing list
> > BangPypers at python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
>
>
>
> --
>
> *Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus
> Torvaldshttp://kracekumar.com <http://kracekumar.com>*
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
More information about the BangPypers
mailing list