-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
45 lines (40 loc) · 1.27 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
44
45
import os
import re
from pathlib import Path
from setuptools import setup
long_description = (Path(__file__).parent / 'README.md').read_text()
requirements = (Path(__file__).parent / 'requirements.txt').read_text().split('\n')
version = re.sub(
r'^v',
'',
os.getenv('VERSION', 'v0.0.1-development')
)
print(f'Publishing version {version}')
setup(
name='storyblok-assets-cleanup',
version=version,
description='Utility to clean unused storyblok assets.',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=requirements,
entry_points={
'console_scripts': [
'storyblok-assets-cleanup = storyblok_assets_cleanup:main'
],
},
license='MIT',
url='https://github.com/significa/storyblok-assets-cleanup',
keywords='storyblok',
author='Significa',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Utilities',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
)