Skip to content

Commit

Permalink
modifications for PyPI upload procedure
Browse files Browse the repository at this point in the history
- 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
agramian committed Sep 29, 2015
1 parent 5423014 commit e94d891
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include LICENSE
include README.md
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
description-file = README.md
[wheel]
universal = 1
17 changes: 14 additions & 3 deletions setup.py
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',
Expand All @@ -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 = [],
)

0 comments on commit e94d891

Please sign in to comment.