-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (37 loc) · 1.44 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
41
42
43
# Copyright (c) 2024 Jan T. Müller <[email protected]>
import sys
import os
from setuptools import setup, find_packages
import swizzle
if sys.version_info < (3, 6):
sys.exit("ERROR: swizzle requires Python 3.6+")
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="swizzle",
version=swizzle.__version__,
packages=find_packages(exclude=["tests"]),
author="Jan T. Müller",
author_email="[email protected]",
description="Swizzle enables the retrieval of multiple attributes, similar to swizzling in computer graphics.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/janthmueller/swizzle",
project_urls={
"Documentation": "https://github.com/janthmueller/swizzle/blob/main/README.md",
"Source": "https://github.com/janthmueller/swizzle",
"Tracker": "https://github.com/janthmueller/swizzle/issues",
},
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
],
python_requires=">=3.6",
)
# python setup.py sdist bdist_wheel
# twine check dist/*
# twine upload dist/* -> insert token