Permalink
8f011cd Aug 5, 2016
@dstufft @di
44 lines (33 sloc) 1.28 KB
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os.path
__all__ = [
"__title__", "__summary__", "__uri__", "__version__", "__commit__",
"__author__", "__email__", "__license__", "__copyright__",
]
try:
base_dir = os.path.dirname(os.path.abspath(__file__))
except NameError:
base_dir = None
__title__ = "warehouse"
__summary__ = "Next Generation Python Package Repository"
__uri__ = "https://pypi.org/"
__version__ = "15.0.dev0"
if base_dir is not None and os.path.exists(os.path.join(base_dir, ".commit")):
with open(os.path.join(base_dir, ".commit")) as fp:
__commit__ = fp.read().strip()
else:
__commit__ = None
__author__ = "The Python Packaging Authority"
__email__ = "donald@stufft.io"
__license__ = "Apache License, Version 2.0"
__copyright__ = "2015 %s" % __author__