Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 38 lines (33 sloc) 1.138 kb
56495ee @trey0 blessed geocamPycroraptor into an installable module
trey0 authored
1 # __BEGIN_LICENSE__
2 # Copyright (C) 2008-2010 United States Government as represented by
3 # the Administrator of the National Aeronautics and Space Administration.
4 # All Rights Reserved.
5 # __END_LICENSE__
6
7 import os
8 from setuptools import setup, find_packages
9
10 def read_file(filename):
11 """Read a file into a string"""
12 path = os.path.abspath(os.path.dirname(__file__))
13 filepath = os.path.join(path, filename)
14 try:
15 return open(filepath).read()
16 except IOError:
17 return ''
18
19 # Use the docstring of the __init__ file to be the description
20 DESC = " ".join(__import__('geocamPycroraptor').__doc__.splitlines()).strip()
21
22 setup(
23 name = "geocamPycroraptor",
24 version = __import__('geocamPycroraptor').get_version().replace(' ', '-'),
25 url = '',
26 author = 'Trey Smith',
27 author_email = '',
28 description = DESC,
29 long_description = read_file('README'),
30 packages = find_packages(),
31 include_package_data = True,
32 install_requires=read_file('requirements.txt'),
33 classifiers = [
34 'License :: OSI Approved :: NASA Open Source Agreement',
35 'Framework :: Django',
36 ],
37 )
Something went wrong with that request. Please try again.