File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Version of Filezen package
2- VERSION = "1.4.0 "
2+ VERSION = "1.4.1 "
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
33
4-
4+ import sys
55from setuptools import setup , find_packages
66from filezen .version import VERSION
7- __version__ = VERSION
8-
97
10- with open ("README.rst" , "r" ) as f :
11- long_description = f .read ()
8+ __version__ = VERSION
129
10+ try :
11+ if sys .version_info [:2 ] <= (2 , 7 ):
12+ long_description = open ("README.rst" )
13+ else :
14+ long_description = open ("README.rst" , "r" , encoding = "utf8" )
15+ finally :
16+ long_description .close ()
1317
1418setup (
1519 name = 'Filezen' ,
2226 url = 'https://github.com/ab-anand/Filezen' ,
2327 license = 'MIT' ,
2428 install_requires = [
25- "pathlib >= 1.0.1" ,
26- "setuptools >= 44.1.1"
27- ],
29+ "pathlib >= 1.0.1" ,
30+ "setuptools >= 44.1.1"
31+ ],
2832 # dependency_links=dependency_links,
2933 # adding package data to it
3034 packages = find_packages (exclude = ['contrib' , 'docs' ]),
You can’t perform that action at this time.
0 commit comments