Hi Simon 
I did pip install robotonotebook
and all was good, looks really good so far :-)
Cheers
g

On Sunday, 31 May 2015 01:52:25 UTC+12, Simon Griffee wrote:
>
> Thanks, Stephen. 
>
> I'll go through it again and keep at it. Once I get it all working 
> I'll document the steps I took here. 
> Simon Griffee 
> www.hypertexthero.com 
>
>
>
> On Sat, May 30, 2015 at 2:38 AM, Stephen McDonald <st...@jupo.org 
> <javascript:>> wrote: 
> > BTW don't feel disheartened, I never found a complete and thorough 
> tutorial 
> > documenting this either (that's not to say there isn't one). The 
> official 
> > docs are incredibly dense too. I just worked it all out through trial 
> and 
> > error. 
> > 
> > The good thing is that once you get everything working, you never really 
> > need to go through it again. I just copy and paste from one project to 
> the 
> > next. 
> > 
> > On Fri, May 29, 2015 at 11:31 PM, Stephen McDonald <st...@jupo.org 
> <javascript:>> wrote: 
> >> 
> >> You've also got files in there that shouldn't be in the repo: 
> >> 
> https://github.com/hypertexthero/mezzanine-robotonotebook/blob/master/templates/.DS_Store
>  
> >> 
> >> That tutorial doesn't seem to deal with including non-Python files in 
> your 
> >> package, which you'll need to do to include your templates and other 
> static 
> >> files. I can't do a proper tutorial justice by trying to document the 
> steps 
> >> here, but these are normally handled by a MANIFEST file, look at 
> Mezzanine's 
> >> for example: 
> https://github.com/stephenmcd/mezzanine/blob/master/MANIFEST.in 
> >> 
> >> Your setup.py should include references to necessary dependencies - 
> again, 
> >> no way of telling without seeing it, but since you describing 
> installing 
> >> them manually in the readme file, presumably this step has been omitted 
> too. 
> >> 
> >> On Fri, May 29, 2015 at 11:27 PM, Stephen McDonald <st...@jupo.org 
> <javascript:>> wrote: 
> >>> 
> >>> I'd suggest finding some open source Django apps and studying their 
> >>> structure on Github. Also following the tutorial you linked to before 
> more 
> >>> closely, you've steered away from it it seems. 
> >>> 
> >>> - The virtualenv directory isn't relevant 
> >>> - You've split out a "package" directory and the git repo, with 
> duplicate 
> >>> content, these should be the same thing, including setup.py etc 
> >>> - Once you've got everything on Github, people can then at least see 
> your 
> >>> setup.py and look to see if it has problems, at the moment it's hidden 
> on 
> >>> your computer 
> >>> - At a guess, the project's showing up on PyPI as you did the 
> "register" 
> >>> step, but possibly you forgot the "upload" step. 
> >>> 
> >>> 
> >>> 
> >>> On Fri, May 29, 2015 at 8:26 PM, Simon Griffee <
> si...@hypertexthero.com <javascript:>> 
> >>> wrote: 
> >>>> 
> >>>> Hi Graham, 
> >>>> 
> >>>> Those are the instructions I followed, and they seem to have worked — 
> >>>> my package is listed on PyPI and from what I can see the `setup.py` 
> >>>> file should be inside the same folder containing the package, and not 
> >>>> in the package itself. 
> >>>> 
> >>>> This brings up the question of whether there is a 'best practice' for 
> >>>> packaging Django apps in development (I'm a novice). My current 
> >>>> foldersetup is as follows: 
> >>>> 
> >>>> mezzanine-roboto-notebook-env    <--- My virtualenv 
> >>>>     ├── bin 
> >>>>     ├── include 
> >>>>     ├── lib 
> >>>>     ├── mezzanine-roboto-notebook 
> >>>>     │   ├── ... 
> >>>>     │   ├── robotonotebook    <--- THE git repo which I develop on 
> and 
> >>>> push to https://github.com/hypertexthero/mezzanine-robotonotebook 
> >>>>     │   │   ├── LICENSE.txt 
> >>>>     │   │   ├── README.md 
> >>>>     │   │   ├── __init__.py 
> >>>>     │   │   ├── static 
> >>>>     │   │   └── templates 
> >>>>     │   ├── ... 
> >>>>     ├── package    <--- THE package pushed to PyPI using the 
> >>>> instructions you mentioned 
> >>>>     │   ├── LICENSE.txt 
> >>>>     │   ├── README.md 
> >>>>     │   ├── robotonotebook 
> >>>>     │   │   ├── __init__.py 
> >>>>     │   │   ├── static 
> >>>>     │   │   └── templates 
> >>>>     │   ├── setup.cfg 
> >>>>     │   └── setup.py 
> >>>>     └── pip-selfcheck.json 
> >>>> 
> >>>> I'm going to get some sleep now — back sometime tomorrow! 
> >>>> 
> >>>> Simon 
> >>>> 
> >>>> 
> >>>> 
> >>>> Simon Griffee 
> >>>> www.hypertexthero.com 
> >>>> 
> >>>> 
> >>>> 
> >>>> On Fri, May 29, 2015 at 10:59 PM, Graham <greenba...@gmail.com 
> <javascript:>> 
> >>>> wrote: 
> >>>> > Hi Simon 
> >>>> > I have had a look at this blog post 
> >>>> > http://peterdowns.com/posts/first-time-with-pypi.html 
> >>>> > It says that you need a setup.py file which I am not seeing on your 
> >>>> > repo... 
> >>>> > 
> >>>> > cheers 
> >>>> > g 
> >>>> > 
> >>>> > On 30/05/15 13:22, Simon Griffee wrote: 
> >>>> > 
> >>>> > Thanks, Mathias. 
> >>>> > 
> >>>> > I've gone ahead and tried making something *without* using 
> Bootstrap 
> >>>> > to 
> >>>> > begin with. If people like this I will make a version that uses 
> >>>> > Bootstrap, 
> >>>> > too. My reasoning for this is that I want to : 
> >>>> > 
> >>>> > 1. Focus on the simplest code when learning something and… 
> >>>> > 2. Improve performance by reducing the amount of CSS files, 
> especially 
> >>>> > as 
> >>>> > I'm referencing a typeface in the design — I'm a fan of minimalist 
> >>>> > design :) 
> >>>> > 
> >>>> > Here is version 0.0.1: 
> >>>> > 
> >>>> > https://github.com/hypertexthero/mezzanine-robotonotebook 
> >>>> > https://pypi.python.org/pypi/mezzanine-robotonotebook/0.0.1 
> >>>> > 
> >>>> > This was my first time publishing anything on PyPI, and for some 
> >>>> > reason when 
> >>>> > I try to `pip install mezzanine-robotonotebook` I get an error 
> >>>> > message: 
> >>>> > 
> >>>> > Exception: 
> >>>> > Traceback (most recent call last): 
> >>>> >   File 
> >>>> > 
> >>>> > 
> "/Users/simon/Projects/mezt-env/lib/python2.7/site-packages/pip/basecommand.py",
>  
>
> >>>> > line 223, in main 
> >>>> >     status = self.run(options, args) 
> >>>> >   File 
> >>>> > 
> >>>> > 
> "/Users/simon/Projects/mezt-env/lib/python2.7/site-packages/pip/commands/install.py",
>  
>
> >>>> > line 268, in run 
> >>>> >     wheel_cache 
> >>>> >   File 
> >>>> > 
> >>>> > 
> "/Users/simon/Projects/mezt-env/lib/python2.7/site-packages/pip/basecommand.py",
>  
>
> >>>> > line 268, in populate_requirement_set 
> >>>> >     wheel_cache=wheel_cache 
> >>>> >   File 
> >>>> > 
> >>>> > 
> "/Users/simon/Projects/mezt-env/lib/python2.7/site-packages/pip/req/req_install.py",
>  
>
> >>>> > line 207, in from_line 
> >>>> >     wheel_cache=wheel_cache) 
> >>>> >   File 
> >>>> > 
> >>>> > 
> "/Users/simon/Projects/mezt-env/lib/python2.7/site-packages/pip/req/req_install.py",
>  
>
> >>>> > line 66, in __init__ 
> >>>> >     req = pkg_resources.Requirement.parse(req) 
> >>>> >   File 
> >>>> > 
> >>>> > 
> "/Users/simon/Projects/mezt-env/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
>  
>
> >>>> > line 2960, in parse 
> >>>> >     reqs = list(parse_requirements(s)) 
> >>>> >   File 
> >>>> > 
> >>>> > 
> "/Users/simon/Projects/mezt-env/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
>  
>
> >>>> > line 2904, in parse_requirements 
> >>>> >     "version spec") 
> >>>> >   File 
> >>>> > 
> >>>> > 
> "/Users/simon/Projects/mezt-env/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
>  
>
> >>>> > line 2869, in scan_list 
> >>>> >     raise ValueError(msg, line, "at", line[p:]) 
> >>>> > ValueError: ('Expected version spec in', 
> >>>> > 'mezzanine-robotonotebook=0.0.1', 
> >>>> > 'at', '=0.0.1') 
> >>>> > 
> >>>> > Any advice on this? 
> >>>> > 
> >>>> > Simon Griffee 
> >>>> > www.hypertexthero.com 
> >>>> > 
> >>>> > 
> >>>> > On Wed, May 27, 2015 at 5:40 PM, Mathias Ettinger 
> >>>> > <mathias....@gmail.com <javascript:>> wrote: 
> >>>> >> 
> >>>> >> Just to echo Stephen's words, I built a site removing almost 
> >>>> >> everything 
> >>>> >> theming related. Keeping almost only the magnify-popup javascript. 
> >>>> >> And it 
> >>>> >> works pretty well. 
> >>>> >> 
> >>>> >> 
> >>>> >> 
> >>>> >> Le mercredi 27 mai 2015 19:38:21 UTC+2, Gerald Hien a écrit : 
> >>>> >>> 
> >>>> >>> If things don't work as in bootstrap docs, overwrite bootstrap 
> css 
> >>>> >>> and js 
> >>>> >>> in your projects static folder with current versions, since the 
> ones 
> >>>> >>> included in mezzanine are somewhat outdated (3.0.3 fro D 
> >>>> >>> 
> >>>> >>> Am Mittwoch, 27. Mai 2015 19:06:49 UTC+2 schrieb Simon Griffee: 
> >>>> >>>> 
> >>>> >>>> Thanks, Stephen — understood. 
> >>>> >>>> 
> >>>> >>>> Once I have something to show I'll post a link here. 
> >>>> >>>> 
> >>>> >>>> 
> >>>> >>>> 
> >>>> >>>> Design: www.hypertexthero.com 
> >>>> >>>> Photography: www.simongriffee.com 
> >>>> >>>> Email: si...@hypertexthero.com 
> >>>> >>>> Phone: +1 (347) 498-5369 
> >>>> >>>> 
> >>>> >>>> On Wed, May 27, 2015 at 12:55 PM, Stephen McDonald <
> st...@jupo.org> 
> >>>> >>>> wrote: 
> >>>> >>>>> 
> >>>> >>>>> Agree with Tom, use bootstrap if it helps you. 
> >>>> >>>>> 
> >>>> >>>>> I just wanted to point out though that nothing in Mezzanine 
> really 
> >>>> >>>>> depends on bootstrap - if you wanted to start from scratch, 
> using 
> >>>> >>>>> an 
> >>>> >>>>> alternative framework or none at all, you certainly can. 
> >>>> >>>>> 
> >>>> >>>>> On Wed, May 27, 2015 at 9:46 AM, Simon Griffee 
> >>>> >>>>> <si...@hypertexthero.com> wrote: 
> >>>> >>>>>> 
> >>>> >>>>>> Thanks, Tom. 
> >>>> >>>>>> 
> >>>> >>>>>> It does help, and I think you're right! 
> >>>> >>>>>> 
> >>>> >>>>>> I'll get to work now. 
> >>>> >>>>>> 
> >>>> >>>>>> Design: www.hypertexthero.com 
> >>>> >>>>>> Photography: www.simongriffee.com 
> >>>> >>>>>> Email: si...@hypertexthero.com 
> >>>> >>>>>> Phone: +1 (347) 498-5369 
> >>>> >>>>>> 
> >>>> >>>>>> On Wed, May 27, 2015 at 12:39 PM, Tom Lockhart 
> >>>> >>>>>> <tlockh...@gmail.com> 
> >>>> >>>>>> wrote: 
> >>>> >>>>>>> 
> >>>> >>>>>>> On May 27, 2015, at 9:16 AM, Simon Griffee <
> simong...@gmail.com> 
> >>>> >>>>>>> wrote: 
> >>>> >>>>>>> 
> >>>> >>>>>>> > I'm beginning work on a Mezzanine theme focussed on blog 
> >>>> >>>>>>> > writing 
> >>>> >>>>>>> > and reading that I want to publish on PyPi. 
> >>>> >>>>>>> > 
> >>>> >>>>>>> > Mezzanine's templates are currently heavily 
> >>>> >>>>>>> > Bootstrap-dependent and 
> >>>> >>>>>>> > I'm wondering if I should embrace the framework in my 
> theme. 
> >>>> >>>>>>> > 
> >>>> >>>>>>> > I am leaning toward starting from scratch with simple, 
> minimal 
> >>>> >>>>>>> > HTML 
> >>>> >>>>>>> > and CSS and little-to-no JavaScript, but thought I’d ask 
> here 
> >>>> >>>>>>> > whether this 
> >>>> >>>>>>> > is a fool's errand as I do want to maintain compatibility 
> with 
> >>>> >>>>>>> > future 
> >>>> >>>>>>> > versions of Mezzanine. 
> >>>> >>>>>>> 
> >>>> >>>>>>> You can choose to leave out references to bootstrap in your 
> >>>> >>>>>>> templates, which will give you “minimal html and css”. But 
> >>>> >>>>>>> you’ll end up 
> >>>> >>>>>>> using bootstrap since it is awesome. Build on top of a body 
> of 
> >>>> >>>>>>> work rather 
> >>>> >>>>>>> than try to replicate the thousands of hours of work embodied 
> in 
> >>>> >>>>>>> bootstrap. 
> >>>> >>>>>>> 
> >>>> >>>>>>> hth 
> >>>> >>>>>>> 
> >>>> >>>>>>> - Tom 
> >>>> >>>>>>> 
> >>>> >>>>>>> -- 
> >>>> >>>>>>> You received this message because you are subscribed to a 
> topic 
> >>>> >>>>>>> in 
> >>>> >>>>>>> the Google Groups "Mezzanine Users" group. 
> >>>> >>>>>>> To unsubscribe from this topic, visit 
> >>>> >>>>>>> 
> >>>> >>>>>>> 
> https://groups.google.com/d/topic/mezzanine-users/bdqjepkhtzc/unsubscribe. 
>
> >>>> >>>>>>> To unsubscribe from this group and all its topics, send an 
> email 
> >>>> >>>>>>> to 
> >>>> >>>>>>> mezzanine-use...@googlegroups.com. 
> >>>> >>>>>>> For more options, visit https://groups.google.com/d/optout. 
> >>>> >>>>>> 
> >>>> >>>>>> 
> >>>> >>>>>> -- 
> >>>> >>>>>> You received this message because you are subscribed to the 
> >>>> >>>>>> Google 
> >>>> >>>>>> Groups "Mezzanine Users" group. 
> >>>> >>>>>> To unsubscribe from this group and stop receiving emails from 
> it, 
> >>>> >>>>>> send 
> >>>> >>>>>> an email to mezzanine-use...@googlegroups.com. 
> >>>> >>>>>> For more options, visit https://groups.google.com/d/optout. 
> >>>> >>>>> 
> >>>> >>>>> 
> >>>> >>>>> 
> >>>> >>>>> 
> >>>> >>>>> -- 
> >>>> >>>>> Stephen McDonald 
> >>>> >>>>> http://jupo.org 
> >>>> >>>>> -- 
> >>>> >>>>> You received this message because you are subscribed to a topic 
> in 
> >>>> >>>>> the 
> >>>> >>>>> Google Groups "Mezzanine Users" group. 
> >>>> >>>>> To unsubscribe from this topic, visit 
> >>>> >>>>> 
> >>>> >>>>> 
> https://groups.google.com/d/topic/mezzanine-users/bdqjepkhtzc/unsubscribe. 
>
> >>>> >>>>> To unsubscribe from this group and all its topics, send an 
> email 
> >>>> >>>>> to 
> >>>> >>>>> mezzanine-use...@googlegroups.com. 
> >>>> >>>>> For more options, visit https://groups.google.com/d/optout. 
> >>>> >>>> 
> >>>> >>>> 
> >>>> > 
> >>>> > -- 
> >>>> > You received this message because you are subscribed to the Google 
> >>>> > Groups 
> >>>> > "Mezzanine Users" group. 
> >>>> > To unsubscribe from this group and stop receiving emails from it, 
> send 
> >>>> > an 
> >>>> > email to mezzanine-use...@googlegroups.com <javascript:>. 
> >>>> > For more options, visit https://groups.google.com/d/optout. 
> >>>> > 
> >>>> > 
> >>>> > -- 
> >>>> > T : 021 081 71732 
> >>>> > 
> >>>> > -- 
> >>>> > You received this message because you are subscribed to a topic in 
> the 
> >>>> > Google Groups "Mezzanine Users" group. 
> >>>> > To unsubscribe from this topic, visit 
> >>>> > 
> >>>> > 
> https://groups.google.com/d/topic/mezzanine-users/bdqjepkhtzc/unsubscribe. 
>
> >>>> > To unsubscribe from this group and all its topics, send an email to 
> >>>> > mezzanine-use...@googlegroups.com <javascript:>. 
> >>>> > 
> >>>> > For more options, visit https://groups.google.com/d/optout. 
> >>>> 
> >>>> -- 
> >>>> You received this message because you are subscribed to the Google 
> >>>> Groups "Mezzanine Users" group. 
> >>>> To unsubscribe from this group and stop receiving emails from it, 
> send 
> >>>> an email to mezzanine-use...@googlegroups.com <javascript:>. 
> >>>> For more options, visit https://groups.google.com/d/optout. 
> >>> 
> >>> 
> >>> 
> >>> 
> >>> -- 
> >>> Stephen McDonald 
> >>> http://jupo.org 
> >> 
> >> 
> >> 
> >> 
> >> -- 
> >> Stephen McDonald 
> >> http://jupo.org 
> > 
> > 
> > 
> > 
> > -- 
> > Stephen McDonald 
> > http://jupo.org 
> > 
> > -- 
> > You received this message because you are subscribed to a topic in the 
> > Google Groups "Mezzanine Users" group. 
> > To unsubscribe from this topic, visit 
> > 
> https://groups.google.com/d/topic/mezzanine-users/bdqjepkhtzc/unsubscribe. 
>
> > To unsubscribe from this group and all its topics, send an email to 
> > mezzanine-use...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to