Python Eggs For NOObs and Others Chris Calloway. What Are Python Eggs? Managed distributions of python packages: a)Discovery within repositories, b)Dependency.

Slides:



Advertisements
Similar presentations
INFSO-RI Module 03 Installing the ETICS Client Alberto Di Meglio.
Advertisements

Mello-Dee Simmons Liza Klosterman.  Who We Are ‣Largest community-owned utility in Florida and the eighth largest in the United States. ‣Electric system.
Math 5364/66 Notes Installing Python Modules Jesse Crawford Department of Mathematics Tarleton State University.
Alternate Project 4:- Software Management CS-502 (EMC) Fall Alternate Project #4 Software Management CS-3013 Operating Systems, A-term 2009 Project.
Packaging of EPICS-basedControl System Software
CUFSM3.12 Installation Standalone version Matlab version
GANGA Release Strategy Documentation Tools GANGA Workshop, April 2004, CERN Chun Lik Tan (Alvin) - Birmingham GANGA Workshop,
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
Debian package manager Presenter: Lilian Wang. Install Software  先別管 package 了, 你有聽過重灌嗎 ?  Chrome/Firefox, Office, pietty, Notepad++, PCMan, LOL, …
Linux Operations and Administration
Deep Project Management with XNAT Vanderbilt University
Streaming Twitter. Install pycurl library Use a lab computer From the course website Download the links from pycurl and twitter streamer Extract site-packages.zip,
#RefreshCache Redmine Learn why RefreshCache is the community developer's new best friend. Daniel Hazelbaker Information Technology Director.
SKA/KAT SPIN Presentation Software Engineering (!?) Robert Crida.
The DSpace Course Module – Upgrading from 1.4 to 1.5.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
CSC 215 : Procedural Programming with C C Compilers.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Install Software. UNIX Shell The UNIX/LINUX shell is a program important part of a Unix system. interface between the user & UNIX kernel starts running.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Packaging for Voracity Solutions Control Panel David Turner.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
Reading and Mapping Aerosol Data From a MODIS HDF4 File
Python module distribution. Modules in Python Modules are everywhere.
Pipeline Introduction Sequential steps of –Plugin calls –Script calls –Cluster jobs Purpose –Codifies the process of creating the data set –Reduces human.
British Atmospheric Data Centre Python Eggs. British Atmospheric Data Centre Overview Part I: Installers  What are Eggs?  What Eggs can do for me? 
Getting Started with SIDL using the ANL SIDL Environment (ASE) ANL SIDL Team MCS Division, ANL April 2003 The ANL SIDL compilers are based on the Scientific.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
LECTURE 21 Distributing Python Applications. DISTRIBUTING PYTHON APPLICATIONS So, now that you know how to build some Python applications, the first thing.
Install CB 1.8 on Ubuntu. Steps Followed Install Ubuntu (Ubuntu LTS) on Virtual machine – (VMware Workstation) (
Introduction to Linux Server Setup Jonathan Hood CSE 4000 Practical Issues in Software Engineering.
Web Scraping with Python and Selenium. What is Web Scraping?  Software technique for extracting info from websites Get information programmatically that.
EGEE is a project funded by the European Union under contract IST Installation and configuration of gLite services Robert Harakaly, CERN,
Installing CUDA, PyCUDA on Ubuntu
8/2/07. >>> About Me Scott Shawcroft * Junior * Computer Engineering * Third Quarter TA * Creative Commons Intern * Small-time Open Source Developer
APACHE INSTALL Linux: CentOS 6.5 WHAT IS APACHE Apache is an open source application which is governed by the GNU licensing for use and alteration of.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Use Cases, Issues, Proposed Solutions: Software and Environment Non Privileged User Package Management Francois-Denis Gonthier Kryptiva inc.
The firmware-tools project Matt Domsch Michael Brown.
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
1 Introduction to PiSi (Pardus Package Manager) Görkem Çetin TÜBİTAK/UEKAE
Microsoft Office Setup Tech Support. Call for Activate & Install Office.
Let’s Learn 12. Packaging a Game Saengthong School, June – August 2016
Python’s Modules Noah Black.
Embedded Software Development with Python and the Raspberry Pi
Installation Guide of DMPSW
Software Packaging and Releasing
Work report Xianghu Zhao Nov 11, 2014.
IM-pack: Software Installation Using Disk Images
INSTALLING PYTHON 3 COSC 1306 Fall 2017.
17. Packaging a Game.
Managing Software.
Build and Package CSE 403 section, 2011 Feb 3, Hao Lu.
Pluggable backends in Tryton
AVG Internet Security Support Number to Download & Install
RedHat Package Management
Call to Fix HP Printer Installation Error Code 1603
University of Texas Rio Grande Valley Systems Administration CSCI 6175
Setup Microsoft Office 365 &
OpenCRAVAT.
Extending Languages.
Appending or adding to a file using python
University of Washington CSE 416 Spring 2019 Hongjun Wu
Black All good PowerPoint starts with black..
Installations for Course
Installations for Course
Presentation transcript:

Python Eggs For NOObs and Others Chris Calloway

What Are Python Eggs? Managed distributions of python packages: a)Discovery within repositories, b)Dependency resolution, c)Automated download and install, d)Version management, e)Package uninstall, f)Package upgrade

How Are Python Eggs Managed? With a new package called setuptools : a)Based on distutils, b)From PEAK, c)A lot like yum for Linux, d)Subpackages: i) easy_install, ii) pkg_resources e)Download ez_setup.py

How Do I Install setuptools? a) wget b) python ez_setup.py. ez_setup.py contains the setuptools bootstrap code which can also be used by your package distribution, even distutils distributions, to install setuptools.

What Just Happened? Downloading 0.6a10-py2.4.egg Processing setuptools-0.6a10-py2.4.egg creating c:\python24\lib\site-packages\setuptools-0.6a10-py2.4.egg Extracting setuptools-0.6a10-py2.4.egg to c:\python24\lib\site-packages Adding setuptools 0.6a10 to easy-install.pth file Installing easy_install-script.py script to C:\Python24\Scripts Installing easy_install.exe script to C:\Python24\Scripts Installed c:\python24\lib\site-packages\setuptools-0.6a10-py2.4.egg Processing dependencies for setuptools==0.6a10 Setuptools version 0.6a10 or greater has been installed. (Run "ez_setup.py -U setuptools" to reinstall or upgrade.)

How Do I Install an Egg? easy_install docutils Searching for docutils Reading Reading Best match: docutils 0.4 Downloading Processing docutils-0.4.tar.gz Running docutils-0.4\setup.py -q bdist_egg --dist-dir c:\docume~1\cbcoasis\locals~1\temp\easy_install-9vfcba\docutils-0.4\egg-dist-tmp-_wb2bq "optparse" module already present; ignoring extras/optparse.py. "textwrap" module already present; ignoring extras/textwrap.py. zip_safe flag not set; analyzing archive contents... docutils.parsers.rst.directives.misc: module references __file__ docutils.writers.html4css1.__init__: module references __file__ docutils.writers.newlatex2e.__init__: module references __file__ docutils.writers.pep_html.__init__: module references __file__ docutils.writers.s5_html.__init__: module references __file__ Adding docutils 0.4 to easy-install.pth file Installing rst2html.py script to C:\Python24\Scripts Installing rst2latex.py script to C:\Python24\Scripts Installing rst2newlatex.py script to C:\Python24\Scripts Installing rst2pseudoxml.py script to C:\Python24\Scripts Installing rst2s5.py script to C:\Python24\Scripts Installing rst2xml.py script to C:\Python24\Scripts Installed c:\python24\lib\site-packages\docutils-0.4-py2.4.egg Processing dependencies for docutils

What Was That? easy_install epydoc Searching for epydoc Reading Reading Reading Best match: epydoc 2.1 Downloading Processing epydoc-2.1.win32.exe epydoc.imports: module references __path__ epydoc.objdoc: module references __file__ epydoc.objdoc: module references __path__ epydoc.uid: module references __file__ epydoc.uid: module references __path__ epydoc.test.__init__: module references __file__ creating 'c:\docume~1\cbcoasis\locals~1\temp\easy_install-tmlwyw\epydoc-2.1-py2.4-win32.egg' and adding 'c:\docume~1\cbcoasis\locals~1\temp\easy_install-tmlwyw\epydoc-2.1-py2.4-win32.egg.tmp' to it creating c:\python24\lib\site-packages\epydoc-2.1-py2.4-win32.egg Extracting epydoc-2.1-py2.4-win32.egg to c:\python24\lib\site-packages Adding epydoc 2.1 to easy-install.pth file Installing epydoc.py script to C:\Python24\Scripts Installing epydoc.pyw script to C:\Python24\Scripts Installed c:\python24\lib\site-packages\epydoc-2.1-py2.4-win32.egg Processing dependencies for epydoc

How Do I Create a Python Egg? In your setup.py change: from distutils.core import setup to from setuptools import setup then run: python setup.py bdist_egg or python setup.py sdist

Tell Me More