Skip to content

Commit 37e478f

Browse files
committed
Initial attempt at a PyPi setup
1 parent c37d8d2 commit 37e478f

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

setup.cfg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[bdist_wheel]
2+
universal=1
3+
4+
[build_sphinx]
5+
source-dir = docs
6+
build-dir = docs/build
7+
all_files = 1
8+
9+
[aliases]
10+
test=pytest
11+
12+
[tool:pytest]
13+
addopts = --cov=mastodon

setup.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
from setuptools import setup
2+
3+
test_deps = ['pytest', 'Pillow', 'numpy']
4+
extras = {
5+
"test": test_deps
6+
}
7+
8+
setup(name='blurhash',
9+
version='1.0.0',
10+
description='Pure-Python implementation of the blurhash algorithm.',
11+
packages=['mastodon'],
12+
install_requires=[],
13+
tests_require=test_deps,
14+
extras_require=extras,
15+
url='https://github.com/halcy/blurhash-python',
16+
author='Lorenz Diener',
17+
author_email='lorenzd+blurhashpypi@gmail.com',
18+
license='MIT',
19+
keywords='blurhash graphics web_development',
20+
classifiers=[
21+
'Development Status :: 5 - Production/Stable',
22+
'Intended Audience :: Developers',
23+
'Topic :: Multimedia :: Graphics',
24+
'License :: OSI Approved :: MIT License',
25+
'Programming Language :: Python :: 2',
26+
'Programming Language :: Python :: 3',
27+
])

0 commit comments

Comments
 (0)