Skip to content

Commit

Permalink
Update setup.py to allow deployments to PyPI - #27
Browse files Browse the repository at this point in the history
  • Loading branch information
doctorlard committed Jun 27, 2018
1 parent f2afea8 commit 982d2e6
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# -*- coding: utf-8 -*-

import sys
import os
from os.path import abspath, dirname, join
from setuptools import setup, find_packages

HERE = abspath(dirname(__file__))
os.chdir(HERE) # allow setup.py to be run from any path

with open(join(HERE, 'README.md')) as readme:
README = readme.read()

requires = [
'requests>=2.0',
'python-dateutil',
Expand All @@ -17,13 +24,33 @@
)

setup(
name='odata',
name='python-odata', # 'odata' currently clashes with github.com/odatapy/odata which is 404 :-/
version='0.3',
description='A simple library for read/write access to OData services.',
long_description=README,
long_description_content_type='text/markdown',
license='MIT',
author='Tuomas Mursu',
author_email='[email protected]',
install_requires=requires,
tests_require=tests_require,
packages=find_packages(),
url='https://github.com/tuomur/python-odata',
include_package_data=True,
classifiers=[
# 'Development Status :: 4 - Beta', # Tuomas to make this call :-)
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Database',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries',
],
)

0 comments on commit 982d2e6

Please sign in to comment.