-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (33 loc) · 1.18 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
import setuptools
def read(path: str) -> str:
with open(path, 'r') as file:
return file.read()
def README() -> str:
return read('README.md')
def version() -> str:
return read('version').strip()
setuptools.setup(
name='uvarint',
version=version(),
author='Matheus Afonso Martins Moreira',
author_email='matheus.a.m.moreira@gmail.com',
description='Unsigned variable-length integers',
long_description=README(),
long_description_content_type='text/markdown',
url='https://github.com/matheusmoreira/uvarint.py',
packages=['uvarint'],
package_data={'uvarint': ['py.typed', 'uvarint.pyi']},
python_requires='>=3.6',
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3 :: Only',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Typing :: Typed',
],
)