-
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.
Intended first PyPI version. Added manifest file, setup.cfg and modified setup.py. Added Markdown to RST converter to use before PyPI releases. Preparation for adding the package to PyPI.
- Loading branch information
Showing
6 changed files
with
40 additions
and
3 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,3 +1,5 @@ | ||
README.rst | ||
|
||
# Created by .ignore support plugin (hsz.mobi) | ||
### Linux template | ||
*~ | ||
|
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 LICENSE.txt |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
""" | ||
:mod:`register` | ||
================== | ||
Created by hbldh <[email protected]> | ||
Created on 2016-01-13 | ||
""" | ||
|
||
from __future__ import division | ||
from __future__ import print_function | ||
from __future__ import unicode_literals | ||
from __future__ import absolute_import | ||
|
||
import pandoc | ||
|
||
pandoc.core.PANDOC_PATH = "/usr/bin/pandoc" | ||
doc = pandoc.Document() | ||
doc.markdown = open('README.md') .read() | ||
with open('README.rst', 'w') as f: | ||
f.write(doc.rst) | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -21,12 +21,16 @@ | |
from setuptools import setup, find_packages | ||
|
||
# Get the long description from the README file | ||
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')) as f: | ||
long_description = f.read() | ||
try: | ||
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst')) as f: | ||
long_description = f.read() | ||
except: | ||
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')) as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name='dlxsudoku', | ||
version='0.9.0', | ||
version='0.9.1', | ||
author='Henrik Blidh', | ||
author_email='[email protected]', | ||
description='Sudoku Solver in pure Python with no dependencies', | ||
|
@@ -46,6 +50,7 @@ | |
'Programming Language :: Python :: 3.5', | ||
'Intended Audience :: Developers', | ||
], | ||
keywords=["sudoku", "sudoku solver", "dancing links"], | ||
packages=find_packages(exclude=('tests', )), | ||
install_requires=[], | ||
package_data={}, | ||
|