77
88
99if 'publish' in sys .argv :
10- os .system ('python setup.py sdist bdist_wheel upload' )
10+ os .system ('python3 -m build' )
11+ os .system ('python3 -m twine upload --repository django_imagekit dist/*' )
1112 sys .exit ()
1213
1314
@@ -22,8 +23,10 @@ def exec_file(filepath, globalz=None, localz=None):
2223
2324# Load package meta from the pkgmeta module without loading imagekit.
2425pkgmeta = {}
25- exec_file (os .path .join (os .path .dirname (__file__ ),
26- 'imagekit' , 'pkgmeta.py' ), pkgmeta )
26+ exec_file (
27+ os .path .join (os .path .dirname (__file__ ), 'imagekit' , 'pkgmeta.py' ),
28+ pkgmeta
29+ )
2730
2831
2932setup (
@@ -33,8 +36,8 @@ def exec_file(filepath, globalz=None, localz=None):
3336 long_description = read (os .path .join (os .path .dirname (__file__ ), 'README.rst' )),
3437 author = 'Matthew Tretter' ,
353836- maintainer = 'Bryan Veloso ' ,
37- maintainer_email = '[email protected] ' ,
39+ maintainer = 'Venelin Stoykov ' ,
40+ maintainer_email = '[email protected] ' ,
3841 license = 'BSD' ,
3942 url = 'http://github.com/matthewwithanm/django-imagekit/' ,
4043 packages = find_packages (exclude = ['*.tests' , '*.tests.*' , 'tests.*' , 'tests' ]),
@@ -56,11 +59,15 @@ def exec_file(filepath, globalz=None, localz=None):
5659 'Intended Audience :: Developers' ,
5760 'License :: OSI Approved :: BSD License' ,
5861 'Operating System :: OS Independent' ,
62+ 'Programming Language :: Python' ,
63+ 'Programming Language :: Python :: 3' ,
64+ 'Programming Language :: Python :: 3 :: Only' ,
5965 'Programming Language :: Python :: 3.6' ,
6066 'Programming Language :: Python :: 3.7' ,
6167 'Programming Language :: Python :: 3.8' ,
6268 'Programming Language :: Python :: 3.9' ,
6369 'Programming Language :: Python :: 3.10' ,
70+ 'Programming Language :: Python :: 3.11' ,
6471 'Topic :: Utilities'
6572 ],
6673)
0 commit comments