Skip to content

Commit

Permalink
repaired setup function
Browse files Browse the repository at this point in the history
  • Loading branch information
eak24 committed Aug 16, 2018
1 parent 2f17e96 commit 1ab60a3
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
#!/usr/bin/env python
from setuptools import setup

try:
from setuptools import setup
except ImportError:
from distutils.core import setup

config = {
'name': 'onshapepy',
'version': '0.0.4',
'description': 'Drive part configurations from Python.',
'long_description': open('README.md').read(),
'author': 'Ty-Lucas Kelley, Ethan Keller',
'url': 'https://github.com/onshapepy/onshapepy/tree/master/python',
'license': open('LICENSE').read(),
'packages': [
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))

def read(file_name):
with open(path.join(this_directory, file_name), encoding='utf-8') as f:
return f.read()


setup(
name= 'onshapepy',
version= '0.0.5',
description= 'Drive part configurations from Python.',
long_description= read("README.md"),
author= 'Ethan Keller',
url= 'https://github.com/onshapepy/onshapepy/tree/master/python',
license= read("LICENSE"),
packages= [
'onshapepy'
],
'install_requires': ['requests', 'pint'],
'classifiers': [
'Programming Language :: Python',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules'
]
}
install_requires= ['requests', 'pint', 'ruamel.yaml'],
)

setup(**config)

0 comments on commit 1ab60a3

Please sign in to comment.