-
Notifications
You must be signed in to change notification settings - Fork 0
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
joshua.logan
committed
Feb 19, 2018
1 parent
84ea009
commit 5af50f7
Showing
6 changed files
with
27 additions
and
8 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 @@ | ||
1.1.1.post1 |
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
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
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,6 +1,9 @@ | ||
#!/bin/bash | ||
./setup.py sdist --formats=bztar upload | ||
echo "Generating docs" | ||
./setup.py build_sphinx | ||
echo "Uploading docs to pypi" | ||
./setup.py upload_docs --upload-dir build/sphinx/html/ | ||
echo "Creating sdist" | ||
./setup.py sdist --formats=bztar | ||
echo "Creating wheel package" | ||
./setup.py bdist_wheel | ||
echo "Uploading via twine" | ||
twine upload dist/* |
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 @@ | ||
[bdist_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,23 +1,33 @@ | ||
#!/usr/bin/env python | ||
|
||
from setuptools import setup, find_packages | ||
version = '1.1.1' | ||
|
||
HERE = path.abspath(path.dirname(__file__)) | ||
|
||
with open(path.join(HERE, 'README.rst'), encoding='utf-8') as f: | ||
LONG_DESCRIPTION=f.read() | ||
with open(path.join(HERE, 'VERSION.txt'), encoding='utf-8') as f: | ||
VERSION = f.read() | ||
|
||
if __name__ == '__main__': | ||
setup(name='odslib3', | ||
version=version, | ||
version=VERSION, | ||
description='An easy to use module that creates ODS documents. Fork of odslib (https://github.com/TauPan/odslib) as looking unmaintained. Original author: Joseph Colton. Adapted for Python3.x support by Joshua Logan', | ||
long_description=LONG_DESCRIPTION | ||
author='Joshua Logan', | ||
author_email='joshua.logan@eveco.re', | ||
url='https://github.com/Exelscior/odslib3', | ||
packages=find_packages(), | ||
license='GPL', | ||
keywords='ods libreoffice' | ||
python_requires='>=2.7', | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: GNU General Public License (GPL)", | ||
"Natural Language :: English", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
], | ||
) |