Merken

Less known packaging features and tricks

Zitierlink des Filmsegments
Embed Code

Automatisierte Medienanalyse

Beta
Erkannte Entitäten
Sprachtranskript
thank you thank you thank you OK this is my 1st 1st thought you're quite right and solar and a product of 2 things wrong with the title the extracted so as you guys like packaging to just give feeling really and I like the way you you like fixing it OK so uh so I actually want you the different document you talk about the body of this 1 more it's more dramatically you have a body knowledge spent 3 days in and it's all your fault but have a the packaging you always blame the guy who invented the set of tools were used to interview there's always someone else and that's another dramatic would turns out it's more interesting so all of this and I'm leaving the
stock because I did quite a bunch of vectors so by the sum of my own I know about quite a a few little abandoned back so i'm for them for this flight systems it so that for but also on on the use project so as not to the dependencies also worked on the rhetorical regional and but is not words yet but you can try to if you have problems of judgmental windows all pictures those OK so was the 1st and it basically the stock is going to be something around set up by so he get angry about that and then we have problems and down and then go to the content of the beginning and then have some introductory stuff to go back to that and then if you have questions just the way yellow something soul as far as it's likely don't don't wait to the end and can get so the 1st thing I lost it up by the basically an optimization for the complicated archive so basically it's not system that all of the once in a while the compilation weird things like that and the it has lots and lots of so there's quite a lot of options from these 2 then and there's a couple of cents couples as much more out public that but still this by collecting unemployment so you should use it because the and and nowadays everyone uses it can even be depends on its people don't do rather use because you don't have that time so I'm going to talk about the particles making the package installing it making the fact that that the packaging part of it did this and there's from always post always visible confusion with the the terminology here but there still packages and the distribution of packages the origin in fact is worth I mean the name packages means that document that important and has a unique binding 5 of the best bet it's the distribution of the VIP now knowledge being the packaging guidelines that can guide so the the kind of feature on the name so long as the kind of around the mean so and then on the college distribution package people that go to the guided search for they find a solution vector so that the the gold down from the back book the distribution that there different kinds of really I don't really like the ontology and those some Solomon had packaging the package a package and the result in the back so we need we got to 2 main theories of distributions there is the the source thing from the effort and there's the binary or real distributions which he BDC which normally you don't agree with and the the least we'll get the should not a shown used at the wheel because some of the that's the the the way that the tools are moving forward all of and of course they have different rules take look promising but they are believed to have some sort of these there so it's so it's yours and you get confused by that and and and we figure out what the user because you have so many options and a lot of fun about the options so for the the the source distribution their composite our collected by default there is that we need to set up by and the best . 3 only those files strangely enough and there is the all the father of putting the package using the modules the extensions modules sources what we are for some sort of thing that Aaron Beck at the the time and you know the the files in the states and the manifest on the manifest is the more interesting ones we go about it he later and there's the deviation from the doesn't use the the main difference is that the data doesn't use the manufacture of before unless you set of tools and then use this option that set of tools that include package the so in order to simplify the kind of use results OK about the back is also suppose we have this structure here of so
that the packet is for we've never directly with the best opportunity we're gonna have whole we be which is fine and when you write set up that a positive then the yeast and an article goes back because if some on 1 they decided that the the the the the the dealers marginal needs to and I have my stuff in it and then is we made a package that the change so mean you used to be added to the fact is that this is quite frequently that you forget to do that and a kind of forgetting that that only happens all the time and of so that the that's like a set of tools and so on the so this problem the collecting function that finds all the packages from the current directly or indirectly that so 9 only their some of their native to to this that there is you've heard of this the yard which kind of does this automatically so you don't even have really only specify the main then 2 years itself on its own the together those quite too many things in the data there is even a project Brecht B R all packets but it didn't will project called plates and it is 1 of the few places a set of by itself but it is the only makes wheels so if you have a binary star but the expenses that work for you sure this and there is Banco which is all the thing all right now back to the to the manifest the manifest in this work is to get wrong it has lots of comments included in the ceiling you because if you we'll of gets old and then uh the the prime had of most of the time we to fine-grained many you specify everything down the last extension right you can hot holding a manifest everything that fast system which is kind of wrong especially if you look at the file system as a database right so you wouldn't toppled the ideas the database and you go right so why would be hard to find also extensions for that matter solar radiation from what they've found numerous most projects and work just fine with the graph and the rest are just the edges that's the whole directly collects everything in it and then there's the global exploded in 3 about don't with plausible of the components of anything but by anything that you don't want want for example the bad manifest that which is too too fine-grained data if you specify that the extension so food for example finding is that by the way forms right and what's in the moment because you always have faster but when you're going on longer path father you don't know it's still a it's broken all people don't get so we know that the best way is use the graph the the graph what's on the on the rules you can also specify that the graph but in his view directory manages exclude vital and all the stuff you don't want so I mean this is somewhat this advice my mind I mean you might not need to use graphs and all situations but I mean from what that so I mean it's very at some extra files and these the important part of the yeah a father and his and the Iraq I mean it's it's it's embarrassing but it works if it doesn't work then kind words mapping and you would the problem with the straight path something he can just run the status the what contract projects have kind of a bad and there rules that can check your manifest there's the check manifest candidate from by the so the romances you should use it there is also a set of tools extension called setuptools tools SCN which can generate the manifest for you that from all the sparsity of the 1st 3 if it's committed and study of collective with this extension and now there's records that that's not option which kind overlaps in in in in the feature space the manifest other things and so forth specifying the other than the default inside that is not this has become the same problems to tools to degrading
and still specific and then money you get a specific you make mistakes and and that's why
I mean you should use include Beckett state are in this situation because this is the problem if you don't use that to include vectors if not then you
have to specify the practice this kind of nasty you cannot be you have to to select files manually record need to write cold it the better the school democratization I mean that it is not more integration because the competition is less than the cold you would have that the more configuration so they don't use avoiding simple as that don't use it just to the manufacture and include practiced at the end of the can also avoid frightened the manifest can use that set of tools that up and option is formed the overlap in the feature is still kind of data files with these data files and also the packages and there the gasoline persistent it's mind-boggling and the pools the bulldog really respect this this option because maybe still obscure I don't know the for example the good that the the the set up tools and on the big they putting inside the egg so if you think falls it happens if your answer the bicycle many did they go lower fall and institute of the right thing but the problem is that the I mean if you saw absolute facts that and then there's the problem you have to battle I think this going down to that basically you using using applications sold on you would use that the fossil configuration if you wanna stick in its grave somewhere in ETC or some variation follow a man page things like that so that there almost always there options and that is to use a specialized package like that so on the and we think that there are plenty of tools tool tool to help you with that especially if you have dependencies and need to manage them there is the mutual and there's been new by today so quite Project for Windows Wikinews installer there's the answers kind of thing that generates the the the confirmation for answers the mass of the the installations system thing and we can even make your own custom thing you don't need to use their walking and make yourself feel for what they're to say on yourself you have very specific needs that might make self a tool which generates a self-extracting shows great so that makes the chose to stick the archive at the end and then and automatically so you don't have to deal with copying unaffected of phenomenal cave I mean by that is enough for applications in might not really I mean this is an application has configuration where you put the confirmation world in a service is how the computer serves them has a very specific needs needs of principles priest all actions for the products of their talks about it but I mean apparently not thus supporting cannot reinstall cost if you need those and for a serious application sure unit then uses specialized jumping the double better not try to form you something that's kind of designed for that don't because it was something there a lot of dependencies so this is kind of dying to the previous 1 the Bayesian dependencies and you need 1 of those in the door on the door on the use of the diffusion and for quite today on the remaining bonding of dependencies between you can we can use the fact that it does kind of doesn't self-extracting binary it's already makes a each you can you can just try and its ultimate secrets future land somewhere and install we used to specify we depend on the which is nice and the people use that OK so another thing the problem is the importing code set up by because it's such a such a critical place if you try to import your your packages inside there just to get something like version did you might end up in in a chicken and egg problem because you're trying to look for something that you people urgently important because you don't have fences also you think what fails to divide the dependencies is right in the early to have them because we need to run the your other dependency so that he does it is thought also don't do this there are many ways leaving which can handle this for example the version there is in the packaging guide the kind quite a number of them and there's also set of tools is pulls up the version from the tags for you it's even less work if you can use the that Apple's extension the main module and it's a not really related to set up by a about it's kind of packages frequency long have low as wineries so there's something that you run it on the command line so in that situation from bottom to say when you convert the remaining 5 files so then you can run and my package you just execute the main by far other thing is that it will execute as a script so in the name of the in the name of the module is the main and you won't be lonely important as module it will just executed as you would execute script so it becomes a problem is you try to import stuff from the main modules in other parts of the package because then gets executed again right to them and the models not there so it's getting executed again this is the final classifier inside meaning and get to play so the easy for work anymore and things with things like that so that the put much talking the main in the main 5 times make separate model for that console command line interface or something just need and name a for board that and astronomy and function of knowledge to
to do this in a in a psychopath it is set up I have as an option all spread out this is a very unix obtained because it but the square and they will open windows unless you give the proper extension like that or C and your X which it's kind of hard to do see and you have to handle each and that of course homework to to use so a set of tools has that has a nice feature called entry points and it has a built-in support for 1 special entry called console scripts you should use this always grouped in all cases it has the 4 Windows creates the than aspects of records and 1 of Unix's they also faces the she eventually fuse neutral and is going to the property that so you should most always you the consuls groups but the all this is another feature X acquired so that the the designer extra system so you can do you have to be packaged those lots of things opinions like back horrendous staff and there some optional back before that you can use the excess acquired and stolid can can specify the expressive want the special thing and that will just make the package depend on that the report led on activities of the year teacher and then there's also known this this is a very flexible feature in the sense that people can use it these for development and and test dependencies maybe just take the test the vendor seizing an extra installed the it works it works but I mean that there are tool that can manage that we will talks which can also manage future events so so it's it's it's a quite for money of the docks and basically dust that that that's the workflow it's designed for people you can also use thought somebody this that this is the the the Wolfowitz designed for the following dependencies funding package and running some testament that's it over multiple convergence so when me especially nowadays when we pork everything to button 3 right and you can have 2 days both button into to tree other there are other ways to manage the deed the handsome new thoughts that you don't like leaning more flexibility there's effects and if you just float around tremendous if this is an like and relative to the activation they because the written script kind changes your potential environments and sometimes breaks in the new bone what happens in and that the that that's your environment variables it's not very explicit sorted out with its bond subshells or some across that convexity with that with that some process and you to sub so that they are quite working alternatives to using activation scripts there is there is also another thing called by and then popular on Mac because can manage good interpreters it's not for Britain and its managers and all interpreter the vitamin matters is and there's a common not pattern in use set set up by the tool sometimes you don't have a dependency for all the the pipe convergence say for for you you only want our forests for Python 2 . 6 which is Harry but not not for the others on the you 1 and this of specifically you need not that they're plenty of people that you do and a even and then not just generated different requirements this but this doesn't work we'll see that the big problem because the wheels of justice did just something respectively don't have a set of we didn't metadata and fast that gnostic oppressed groups is too late for them themselves so they kind of issue on environment marked feature index trust the you come on markup language you can have very basic expressions there and you have the future you variables available you can consult platform for more details only and editing of courage foresee extensions of this 1 instance and that's what was tricky for me to to figure it out that that the tricky thing OK so in the the the flag which can use effectively that the property from C extensions of but actually get the ProBridge collected you need to build extensions in place for this inside you the source tree so for that there's this in place flag which choose you should be used to get working there was really for me to figure out what's going on the about uploading new there's a new tools focus and it's quite tools for uploading them the Europe distributions of its another interesting set applied optimal and does secure upload they also upload the metadata so all its use finding dynasty the dependencies that you have new package has on on the your party the page if you said about those unit and see them and it didn't go for an interesting change got to uploading it doesn't allow it to be optimal stuff you can only do so all you can make a post reading maybe the uploaded cases missed something of of the the package names are kind of normalized so can pick a name a so source distribution name that Israel and the way that the underscore and that that's mean the same thing for you can specify that it's the sentence honest course specialists thinking do you want know more who uses a cTBS
basically isn't that having passed just sit here the set up it's of a plant that so you're kind of burnable tools man in the middle about the version the is also
kind change recently since couples 8 a and now we have an automatic normalization for of versions and of course few examples here that that is a means of bolstering done the best of it said that release and offer just gets normalized Lisa variances like we used any data given that something very consistent other and that there is also the semantic versioning which it is something that
people quite likely it's not about the normalization but there are some differences here we regard the scheme of versions of which you probably don't you don't care about those 2 but there's a difference so you cannot use those you cannot use produces like that
because that means of and so on the density of a building full which is not supported at all so need to broaden your and therefore getting close to the
end the last thing that I saw I made a template with the cookie cutter that presentation about who's got more something which can has all this the integrating and some some
more things about people computation for testing measuring coverage stuff like that any questions not at all that's
what you want what do you want we find that the height of the model of all what each these yeah so the question is that if he has a package that kind of doesn't doesn't want to have a module on quite and 3 because that module it's inside that model is entirely effective in the studio get event and you are strictly abided to let them know that when I mean you can do it with the set the price because he can have told them but the more at the wheel was you get up on less you make up your work with the universal we'll but you can make we'll for Python 2 and the we'll for pipe increase that but it's extra work to release it will it will work 1 of the but what if you use on the and the speed of the advantage of wheels are still the main ones I the B there that doesn't have a real process in on installed with the set the price created this process of of being copied around 2 times and after that their property your affiliation bad because there just aren't that they're not that and it's also quest for the compiler of course you know know what I mean they even with their consent thing but there's lots and phase out the need to have some of the issues tonight at the time of the data people but for some reason know I want you to the United States and so on OK maybe mean as a side effect it's very they needed to a certain we support that OpenStack so I for me I mean I wouldn't really like the GBR blossoming it's a nice idea but the the kind by the there's the a very it's very customized for instance it's not for every project In this way you have to accept the responsibility you and you know all here is about the same as well I don't know what is this the on a lot of things that you you just look at what it doesn't mean it doesn't make things so you should check colleague before using that that on the there was some some the the people of the like this was a and so on and so on of holes in the roof of all candidates yeah that the problem is that I mean when you make an officer the communication you cannot put me you well what you think is most important for you to put it also there's lots of documentation so you have to realize the heart it all so this is the exploit the this all right is we rates of the discussion on this thing and I don't think it will request the use of the all rules gave it away from something we can talk about this is he in a matter this is of is affecting the make seem not by not or this this site some nice and update it heats up and it does make a point where there dominating it it's maintained it's the things that don't the and that's the we and you wish all so that in the local version our looking or all of you it was in the neighborhood that it overlaps with a set up with him but so position in the and it's kind of not on by by contracting authorities and essentially the thing to go to this this some of that I'm not sure what's going on there but there was the seems more things what would you the this is the the idea that we could carry the meaning of sentences in the set of questions that it's a question of concrete and abstract dependency sold which would you put where a mean that the effort dependencies which don't have divergent you you would put the at at least in the set of parts create the concrete sponsors most definitely you need to have contested right so you need to have a set also known world working dependency so if you would put that in that being requirements toxemia something and so you want you have others a torque which you can use the top the world at the end of not sure any others during the 2 next classifier I mean it works the words but them in the name of that it seems like putting cross there and that I mean I'm not saying it's really bad the Americans were that's all which have there a lot of it
Menge
Biprodukt
Baum <Mathematik>
Computeranimation
Resultante
Randverteilung
Distributionstheorie
Konfiguration <Informatik>
Gewichtete Summe
Merkmalsraum
Momentenproblem
Compiler
Minimierung
Mobiles Endgerät
NP-hartes Problem
Oval
Ungerichteter Graph
Computeranimation
Eins
Metropolitan area network
Code
Typentheorie
Bildschirmfenster
Dateiverwaltung
Default
Große Vereinheitlichung
Gerade
Inklusion <Mathematik>
Distributionstheorie
Lineares Funktional
Sichtenkonzept
Datenhaltung
Singularität <Mathematik>
Quellcode
Schwach besetzte Matrix
Systemaufruf
Konfiguration <Informatik>
Sinusfunktion
Arithmetisches Mittel
Suite <Programmpaket>
Menge
Rechter Winkel
ATM
Projektive Ebene
Ordnung <Mathematik>
Verzeichnisdienst
Ext-Funktor
Standardabweichung
Aggregatzustand
Subtraktion
Mathematisierung
Ikosaeder
Maßerweiterung
Mailing-Liste
Datensatz
Bildschirmmaske
Modul <Datentyp>
Zusammenhängender Graph
Inhalt <Mathematik>
Maßerweiterung
Datenstruktur
Gammafunktion
URL
Modul
Dateiverwaltung
Physikalischer Effekt
Binärcode
Elektronische Publikation
Distributionenraum
Ontologie <Wissensverarbeitung>
Graph
Schlussregel
Vektorraum
Physikalisches System
Elektronische Publikation
Modul
Packprogramm
Quick-Sort
Design by Contract
Mapping <Computergraphik>
Zustandsdichte
Mereologie
Wort <Informatik>
Partikelsystem
TVD-Verfahren
Konfiguration <Informatik>
Versionsverwaltung
Kartesische Koordinaten
Betrag <Mathematik>
Computer
Oval
Extrempunkt
Binärcode
Computeranimation
Metropolitan area network
Einheit <Mathematik>
Code
Minimum
Bildschirmfenster
Skript <Programm>
Elektronischer Programmführer
Spielkonsole
Umwandlungsenthalpie
Inklusion <Mathematik>
Lineares Funktional
Oval
Ruhmasse
Biprodukt
Frequenz
Konfiguration <Informatik>
Sinusfunktion
Arithmetisches Mittel
Dienst <Informatik>
Menge
Projektive Ebene
Versionsverwaltung
Aggregatzustand
Gruppenoperation
Zahlenbereich
Whiteboard
Code
Informationsmodellierung
Virtuelle Realität
Skript <Programm>
Installation <Informatik>
Maßerweiterung
Konfigurationsraum
Modul
Elektronische Publikation
Physikalisches System
Vektorraum
Elektronische Publikation
Modul
Packprogramm
Integral
Mereologie
Baum <Mathematik>
Mittelwert
Distributionstheorie
Prozess <Physik>
Punkt
Pauli-Prinzip
Beschreibungssprache
Konvexer Körper
Gruppenkeim
Versionsverwaltung
Computeranimation
Homepage
Netzwerktopologie
Metropolitan area network
Metadaten
Arithmetischer Ausdruck
Softwaretest
Datenmanagement
Fahne <Mathematik>
Bildschirmfenster
Mustersprache
Eigentliche Abbildung
Skript <Programm>
Kontrollstruktur
Punkt
Spielkonsole
Expertensystem
Metropolitan area network
Softwaretest
Distributionstheorie
Interpretierer
Kategorie <Mathematik>
Gebäude <Mathematik>
Programmierumgebung
Quellcode
Ereignishorizont
Konfiguration <Informatik>
Sinusfunktion
Funktion <Mathematik>
Menge
Rechter Winkel
Automatische Indexierung
Versionsverwaltung
Programmierumgebung
Lesen <Datenverarbeitung>
Instantiierung
Stab
Mathematisierung
Kraft
Maßerweiterung
Systemplattform
Datensatz
Variable
Äußere Algebra eines Moduls
Gravitationsgesetz
Softwareentwickler
Maßerweiterung
Rippen <Informatik>
Gammafunktion
Soundverarbeitung
Wald <Graphentheorie>
Physikalisches System
Fokalpunkt
Menge
Kreisbogen
Portscanner
Quadratzahl
Baum <Mathematik>
Verkehrsinformation
Subtraktion
Jensen-Maß
Pauli-Prinzip
Mathematisierung
Versionsverwaltung
Nummerung
Information
Computeranimation
Arithmetisches Mittel
Sinusfunktion
Zustandsdichte
Normalvektor
Versionsverwaltung
Baum <Mathematik>
Varianz
URL
Quarkmodell
Sinusfunktion
Pauli-Prinzip
Jensen-Maß
Template
Gebäude <Mathematik>
Cookie <Internet>
Information
Kombinatorische Gruppentheorie
Computeranimation
Dichte <Physik>
Nachbarschaft <Mathematik>
Telekommunikation
Web Site
Punkt
Ortsoperator
Compiler
Versionsverwaltung
Computerunterstütztes Verfahren
Computeranimation
Eins
Metropolitan area network
Informationsmodellierung
Endogene Variable
Ideal <Mathematik>
Phasenumwandlung
Autorisierung
Soundverarbeitung
Softwaretest
Kategorie <Mathematik>
Abstraktionsebene
Schlussregel
Bitrate
Modul
Ereignishorizont
Office-Paket
Arithmetisches Mittel
Moment <Stochastik>
Menge
Rechter Winkel
Mereologie
Projektive Ebene
Wort <Informatik>
Instantiierung

Metadaten

Formale Metadaten

Titel Less known packaging features and tricks
Serientitel EuroPython 2015
Teil 168
Anzahl der Teile 173
Autor Mărieș, Ionel Cristian
Lizenz CC-Namensnennung - keine kommerzielle Nutzung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben
DOI 10.5446/20132
Herausgeber EuroPython
Erscheinungsjahr 2015
Sprache Englisch
Produktionsort Bilbao, Euskadi, Spain

Technische Metadaten

Dauer 35:59

Inhaltliche Metadaten

Fachgebiet Informatik
Abstract Ionel Cristian Mărieș - Less known packaging features and tricks You've been making packages for a while now. Everything works almost fine, however, lots of new features and tools have been developed recently. Some are really obscure. And there's a chance they can save you time and help you avoid packaging-induced-pain . I'm willing to bet couple of beers you haven't seen these features and/or tools before. This talk is going to show you: - Patterns and tricks you can use in your `setup.py`. - Obscure pip/setuptools/virtualenv/python features you can use to improve your packaging experience (be it as a user of packages or a package author). - Fledgeling alternative tools.
Schlagwörter EuroPython Conference
EP 2015
EuroPython 2015

Ähnliche Filme

Loading...