-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |