Skip to content

Commit

Permalink
Merge pull request #1 from andhus/preprare_pypi
Browse files Browse the repository at this point in the history
Update setup.py for PyPI publish
  • Loading branch information
andhus authored Feb 15, 2019
2 parents c1e1329 + 5a3f59e commit f4528eb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include README.md LICENSE
28 changes: 22 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
from setuptools import setup, find_packages
import io
import os
from setuptools import setup

VERSION = '0.1.0'
VERSION = '0.1.1'

DESCRIPTION = 'Python module and CLI for hashing of file system directories.'

PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
try:
with io.open(os.path.join(PROJECT_ROOT, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except IOError:
long_description = DESCRIPTION

setup(
name='dirhash',
version=VERSION,
description='',
entry_points={
'console_scripts': ['dirhash=dirhash.cli:main'],
},
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/andhus/dirhash',
author="Anders Huss",
author_email="andhus@kth.se",
license='MIT',
install_requires=[
'pathspec>=0.5.9',
'scandir>=1.9.0;python_version<"3.5"'
],
packages=['dirhash'],
include_package_data=True,
entry_points={
'console_scripts': ['dirhash=dirhash.cli:main'],
},
tests_require=['pytest', 'pytest-cov']
)

0 comments on commit f4528eb

Please sign in to comment.