-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from andhus/preprare_pypi
Update setup.py for PyPI publish
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 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 @@ | ||
include README.md LICENSE |
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,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'] | ||
) |