Skip to content

Commit

Permalink
switch to markdown README exclusively
Browse files Browse the repository at this point in the history
  • Loading branch information
xrotwang committed May 16, 2018
1 parent f5c075c commit 122990b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 42 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include README.md
graft src
global-exclude *.py[co]
28 changes: 0 additions & 28 deletions README.rst

This file was deleted.

9 changes: 5 additions & 4 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,18 @@ git commit -a -m "release <VERSION>"
git tag -a v<VERSION> -m "<VERSION> release"
```

- Release to PyPI:
- Release to PyPI (see https://github.com/di/markdown-description-example/issues/1#issuecomment-374474296):
```shell
git checkout tags/v<VERSION>
rm dist/*
python setup.py sdist bdist_wheel
python setup.py sdist
twine upload dist/*
rm dist/*
python setup.py bdist_wheel
twine upload dist/*
```

- Push to github:
```shell
git checkout master
git push origin
git push --tags origin
```
Expand Down
12 changes: 2 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
import os

from setuptools import setup, find_packages


try:
README = open(
os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst')).read()
except IOError:
README = ''

install_requires = [
'Babel',
'csvw~=1.0',
Expand Down Expand Up @@ -45,7 +36,8 @@
version='4.2.2.dev0',
description=(
'Python library supporting the development of cross-linguistic databases'),
long_description=README,
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
Expand Down

0 comments on commit 122990b

Please sign in to comment.