File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ include README.md LICENSE
Original file line number Diff line number Diff line change 1- from setuptools import setup , find_packages
1+ import io
2+ import os
3+ from setuptools import setup
24
3- VERSION = '0.1.0'
5+ VERSION = '0.1.1'
6+
7+ DESCRIPTION = 'Python module and CLI for hashing of file system directories.'
8+
9+ PROJECT_ROOT = os .path .abspath (os .path .dirname (__file__ ))
10+ try :
11+ with io .open (os .path .join (PROJECT_ROOT , 'README.md' ), encoding = 'utf-8' ) as f :
12+ long_description = '\n ' + f .read ()
13+ except IOError :
14+ long_description = DESCRIPTION
415
516setup (
617 name = 'dirhash' ,
718 version = VERSION ,
8- description = '' ,
9- entry_points = {
10- 'console_scripts' : ['dirhash=dirhash.cli:main' ],
11- },
19+ description = DESCRIPTION ,
20+ long_description = long_description ,
21+ long_description_content_type = "text/markdown" ,
1222 url = 'https://github.com/andhus/dirhash' ,
23+ author = "Anders Huss" ,
24+ author_email = "andhus@kth.se" ,
1325 license = 'MIT' ,
1426 install_requires = [
1527 'pathspec>=0.5.9' ,
1628 'scandir>=1.9.0;python_version<"3.5"'
1729 ],
1830 packages = ['dirhash' ],
31+ include_package_data = True ,
32+ entry_points = {
33+ 'console_scripts' : ['dirhash=dirhash.cli:main' ],
34+ },
1935 tests_require = ['pytest' , 'pytest-cov' ]
2036)
You can’t perform that action at this time.
0 commit comments