id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,work_issues,upstream,reviewer,author,merged,dependencies,stopgaps
7402,SageNB -- Use `pkg_resources` to locate `DATA` directory,timdumol,boothby,"[http://peak.telecommunity.com/DevCenter/PkgResources `pkg_resources`] is the official way to access data directories in a `setuptools` package. Using `pkg_resources` to locate the `DATA` directory will allow us to use [http://bob.pythonmac.org/archives/2005/02/06/using-pth-files-for-python-development/ `.pth` files] for ease of development. For example:

{{{
$ pwd
/home/timdumol/devel/sagenb-0.3.5/src
$ dev_dir=`pwd`
$ cd /opt/sage/local/lib/python2.6/site-packages/
$ rm -r sagenb*
$ cat ""$dev_dir"" > sagenb.pth
}}}

Thus, there will no longer be a need to `sage -python setup.py install` after every change.",enhancement,closed,major,sage-4.3,notebook,fixed,sagenb notebook,mpatel,,N/A,Mitesh Patel,Tim Dumol,,,
