Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/configs/caches.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{"name":"root://its-condor-xrootd1.syr.edu", "status":1},
{"name":"root://sc-cache.chtc.wisc.edu", "status":1},
{"name":"root://osg-new-york-stashcache.nrp.internet2.edu", "status":1},
{"name":"root://osg-kansas-city-stashcache.nrp.internet2.edu", "status":1},
{"name":"root://osg-chicago-stashcache.nrp.internet2.edu", "status":1},
{"name":"root://fiona.uvalight.net", "status":1},
{"name":"root://stashcache.t2.ucsd.edu", "status":1},
{"name":"root://osg-gftp.pace.gatech.edu", "status":1}
]
4 changes: 3 additions & 1 deletion explanation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
WARNING: this is out of date. It is only left for historical reasons

## Usage

```
Expand Down Expand Up @@ -139,4 +141,4 @@ It is recommended that `$timeout` not be set to 1 second, as tests showed that d

* No record of whether the file was new to the cache it was pulled from or not

* Does not currently allow for file renaming.
* Does not currently allow for file renaming.
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,14 @@
#
# If using Python 2.6 or earlier, then these have to be included in
# MANIFEST.in as well.
package_data={'stashcp': ['caches.json'],},
#package_data={ # Optional
# '': ['bin/caches.json'],
#},
package_data={'stashcp': ['opensciencegrid.org.pub'],},

# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
#
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[('share/stashcache/', ['stashcp/caches.json'])],
data_files=[('share/stashcache/', ['stashcp/opensciencegrid.org.pub'])],

# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
Expand Down
Loading