Janto Dreijer avatar Janto Dreijer committed f99c1e4

hopefully fixed robots.txt and favicon.ico this time

Comments (0)

Files changed (6)

 This websites acts as a simple layer on top of PyPI and the web interface to the subversion repository.
 Hosting of release files is done on PyPI. PyPI already has basic project management that can be leveraged.
 
+Installation
+=======
+You can run a local version with the ``run.sh`` file.
+See the ``upload.sh`` file on how to upload to GAE. You'll have to modify the email address.
+
 About the implementation
 ===============
 
 
 When a developer wants to release a new version of his kit he either manually uploads it to PyPI or uses distutils (e.g. "python setup.py sdist bdist_wininst upload" [http://www.python.org/doc/2.5.2/dist/package-upload.html).
 
-
 Issues
 ====
 
 - url: /static
   static_dir: static
 
+- url: /favicon\.ico
+  static_files: static/images/favicon.ico
+  upload: static/images/favicon\.ico
+
+- url: /robots\.txt
+  static_files: static/robots.txt
+  upload: static/robots\.txt
+
 - url: .*
   script: scikits.py
 		self.write(get_template("header") % locals())
 
 	def print_footer(self):
+		# google analytics
 		# http://code.google.com/apis/analytics/docs/gaTrackingOverview.html
 		google_analytics = """
 			<script type="text/javascript">
 						if package_name in packages:
 							continue
 
-
 						# check if really a package
 						#~ url = os.path.join(repo_url, "setup.py")
 						#~ result = get_url(url)
 					if package_name in packages:
 						continue
 
+					#~ package_name_short = package_name.split(".", 1)[0] if package_name.startswith("scikits.") else package_name
 					repo_url = "" #XXX where can we get this?
 					package = Package(name=package_name, repo_url=repo_url)
 					packages[package.name] = package
 
 class RobotsPage(Page):
 	def get(self):
-		return
+		#XXX are new lines ignored?
+		self.write("""
+User-agent: *
+Disallow: /static/
+		""".strip())
 
 class RSSFeedPage(Page):
 	def get(self):
 	('/admin', AdminPage),
 	('/debug', DebugPage),
 	('/edit', EditPage),
-	('/robots.txt', RobotsPage),
+	#~ ('/robots.txt', RobotsPage),
 	('/rss.xml', RSSFeedPage),
 
 	('/(.+)', PackageInfoPage),
Add a comment to this file

code/static/images/favicon.ico

Old
Old image
New
New image

code/static/robots.txt

+User-agent: *
+Disallow: /static/

code/templates.py

 <h1>About SciKits</h1>
 
 <p>
-SciPy Toolkits are independent and seperately installable projects hosted under a common namespace. Packages that are distributed in this way are here (instead of in monolithic SciPy) for at least one of three general reasons. Each of these reasons use the same high-level namespace (scikits).
+SciKits (short for SciPy Toolkits), are add-on packages for <a href="http://www.scipy.org">SciPy</a>, hosted and developed separately from the main SciPy distribution.  All SciKits are available under the 'scikits' namespace and are licensed under <a href="http://www.opensource.org">OSI-approved licenses</a>.
+</p>
+<p>
+Packages are packages as toolkits (instead of in the main, monolithic SciPy distribution) when:
 <ol>
-<li> The package is deemed too specialized to live in SciPy itself, but is targeted at the same community.
-<li> The package has a GPL (or similar) license which is too restrictive to live in SciPy itself.
-<li> The package is meant for eventual inclusion in the SciPy namespace but is being developed as a separately installed package. It is generally the responsibility of the package writer to push for inclusion into SciPy if that is the desire. However, some packages may be moved into SciPy by other interested SciPy developers after approval by the SciPy steering committee.
+<li>The package is deemed too specialized to live in SciPy itself or
+<li>The package has a GPL (or similar) license which is incompatible with SciPy's BSD license or
+<li>The package is meant to be included in SciPy, but development is still in progress.</li>
+
 </ol>
 </p>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.