-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·40 lines (33 loc) · 1.43 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from setuptools import setup, find_packages
# (hurry.filesize) A simple Python library for human readable file sizes (or anything sized in bytes).
# (hfilesize) Human Readable File Sizes
# (datasize) Python integer subclass to handle arithmetic and formatting of integers with data size units
# (byteformat)
# module docstring, readme.md, readthedocs (https://github.com/mtik00/obfuscator)
# https://pypi.python.org/pypi/datasize/0.1 (model)
# https://github.com/pypa/pip (pypi badge)
# https://pypi.python.org/pypi/coverage (lots of badges)
# https://github.com/hgrecco/pint (model)
# http://django-tastypie.readthedocs.org/en/latest/index.html (model for dox)
# long_description = '\n\n'.join([read('README'),
# read('AUTHORS'),
# read('CHANGES')])
# __doc__ = long_description
# setup(long_description=long_description,)
VERSION = '0.1'
if __name__ == '__main__':
setup(
name = 'bytesize',
version = VERSION,
packages = ['bytesize'],
extras_require = {
'pint': 'pint>=0.6'
},
# metadata for upload to PyPI
author = "Chris Piro",
author_email = "[email protected]",
description = "Generate human-readable string representations of quantities of bytes",
license = "Apache",
keywords = "byte size file data units formatter human pretty",
url = "https://github.com/cpiro/bytesize",
)