Skip to content

Commit

Permalink
Merge branch 't0010' close #10
Browse files Browse the repository at this point in the history
  • Loading branch information
7pairs committed Jun 24, 2015
2 parents 0481ff7 + 044cc93 commit a311c48
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyny/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

# バージョン番号
__version__ = '1.0.0'
55 changes: 55 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-

#
# Copyright 2015 Jun-ya HASEBA
#
# 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
from setuptools import find_packages, setup

from pyny import __version__


def read_file(file_name):
base_path = os.path.dirname(os.path.dirname(__file__))
file_path = os.path.join(base_path, file_name)
if os.path.exists(file_path):
return open(file_path).read()
else:
return ''


setup(
name='pyny',
version=__version__,
description='Python wrapper around the Nagareyama Open Data Web API',
long_description=read_file('README.rst'),
author='Jun-ya HASEBA',
author_email='7pairs@gmail.com',
url='https://github.com/7pairs/pyny',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet',
],
packages=find_packages(exclude=['tests']),
keywords=['web', 'api', 'opendata', 'nagareyama'],
license='Apache License, Version 2.0',
)

0 comments on commit a311c48

Please sign in to comment.