Skip to content

Commit

Permalink
Update setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidion committed Oct 9, 2019
1 parent 2347c6a commit 1976ccd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ tag:

release: clean tag install test
echo "Releasing version $(version)"
python setup.py sdist bdist_wheel
# release
python setup.py sdist bdist_wheel upload -r pypi
#python setup.py upload -r pypi
twine upload dist/*
# push new tag after successful build
git push origin --tags
# create release in GitHub
Expand Down
17 changes: 9 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import codecs
import os
from setuptools import setup
import sys
Expand All @@ -11,20 +12,20 @@
sys.exit(1)


with open(
os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.md"),
encoding="utf-8"
) as f:
long_description = f.read()


setup(
name="xphyle",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Utilities for working with files.",
long_description=long_description,
long_description_content_type="text/markdown",
long_description=codecs.open(
os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"README.md"
),
"rb",
"utf-8"
).read(),
url="https://github.com/jdidion/xphyle",
author="John Didion",
author_email="[email protected]",
Expand Down

0 comments on commit 1976ccd

Please sign in to comment.