-
Notifications
You must be signed in to change notification settings - Fork 37
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
Kenneth Reitz
committed
Sep 9, 2010
1 parent
c26f4d8
commit 57ed051
Showing
2 changed files
with
37 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
include README.rst LICENSE test_xerox.py |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
import os | ||
import sys | ||
import xerox | ||
|
||
from distutils.core import setup | ||
|
||
|
||
def publish(): | ||
"""Publish to PyPi""" | ||
os.system("python setup.py sdist upload") | ||
|
||
if sys.argv[-1] == "publish": | ||
publish() | ||
sys.exit() | ||
|
||
setup(name='xerox', | ||
version='0.2.0', | ||
description='Python wrapper for Gist API', | ||
long_description=open('README.rst').read(), | ||
author='Kenneth Reitz', | ||
author_email='me@kennethreitz.com', | ||
url='http://github.com/kennethreitz/xerox.py', | ||
packages=['xerox'], | ||
license='MIT', | ||
classifiers=( | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.5", | ||
"Programming Language :: Python :: 2.6", | ||
"Programming Language :: Python :: 2.7", | ||
) | ||
) |