-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modifications for PyPI upload procedure
- added MANIFEST.in - markdown to rst conversion of README in setup.py - removed description-file metadata from setup.cfg and replaced with lines for building universal wheel file
- Loading branch information
Showing
3 changed files
with
18 additions
and
5 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,2 @@ | ||
include LICENSE | ||
include README.md |
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,2 +1,2 @@ | ||
[metadata] | ||
description-file = README.md | ||
[wheel] | ||
universal = 1 |
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,10 +1,21 @@ | ||
#!/usr/bin/env python | ||
|
||
from distutils.core import setup | ||
try: | ||
from setuptools import setup | ||
except ImportError: | ||
from distutils.core import setup | ||
|
||
try: | ||
from pypandoc import convert | ||
read_md = lambda f: convert(f, 'rst') | ||
except ImportError: | ||
print("warning: pypandoc module not found, could not convert Markdown to RST") | ||
read_md = lambda f: open(f, 'r').read() | ||
|
||
setup(name='selenium_unittest', | ||
version='0.1', | ||
version='0.1.1', | ||
description='Selenium Unit Test Framework', | ||
long_description=read_md('README.md'), | ||
author='Abtin Gramian', | ||
author_email='[email protected]', | ||
url='https://github.com/agramian/selenium-unittest', | ||
|
@@ -14,7 +25,7 @@ | |
'selenium', | ||
'Appium-Python-Client==0.11' | ||
], | ||
download_url = 'https://github.com/agramian/selenium-unittest/tarball/v0.1', | ||
download_url = 'https://github.com/agramian/selenium-unittest/tarball/v0.1.1', | ||
keywords = ['selenium', 'unittest', 'unit', 'test', 'testing'], | ||
classifiers = [], | ||
) |