[BangPypers] Problem in setup.py file
Kiran Gangadharan
kiran.daredevil at gmail.com
Sun Mar 8 14:32:02 CET 2015
Hi Priyal,
Kindly use a service such as this[0] or this[1] when pasting a code snippet
containing more than a few lines of code. It makes your reply short and the
code snippet easier to review.
Thanks!
-----------
[0] http://dpaste.com/
[1] http://pastebin.com/
On Wed, Mar 4, 2015 at 10:33 AM, Priyal Jain <jainpriyal168 at gmail.com>
wrote:
> 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
> >
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>
--
Cheers,
Kiran Gangadharan
http://kirang.in
More information about the BangPypers
mailing list