diff --git a/LICENCE b/LICENCE index 4b73093..7c19f45 100644 --- a/LICENCE +++ b/LICENCE @@ -1,4 +1,4 @@ -Copyright (c) Alex Gaynor and individual contributors. +Copyright (c) Mojtaba Akbari. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/MANIFEST.in b/MANIFEST.in index c5df1c2..037f0c1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,3 @@ include LICENSE include README.md -include runtests.py -recursive-include django_master_password * -recursive-include tests * -global-exclude *.py[co] -global-exclude __pycache__ \ No newline at end of file +recursive-include master_passowrd/auth * diff --git a/master_password/__init__.py b/master_password/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/master_password/auth/__init__.py b/master_password/auth/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/django_master_password/auth/backends.py b/master_password/auth/backends.py similarity index 100% rename from django_master_password/auth/backends.py rename to master_password/auth/backends.py diff --git a/pyproject.toml b/pyproject.toml index 07de284..fa7093a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools>=42"] build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 6cba843..0745071 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,12 +1,24 @@ [metadata] -license_file = LICENSE +name = master-password-django +version = 1.0 +description = this package is based on a simple idea, if you are a login as a site admin, Enter any password for each user, you can log in as that user . +long_description = check https://github.com/mojtabaakbari221b/django_master_password +url = https://github.com/mojtabaakbari221b/django_master_password +author = Mojtaba Akbari +author_email = mojtaba.akbari.221B@gmail.com +license = BSD-3-Clause +classifiers = + Environment :: Web Environment + Framework :: Django + Framework :: Django :: 3.2 + Intended Audience :: Developers + License :: OSI Approved :: BSD License + Operating System :: OS Independent + Programming Language :: Python -[isort] -profile = black -skip=.tox -known_third_party=django -known_first_party=django_master_password - -[flake8] -max_line_length = 120 -max_complexity = 10 \ No newline at end of file +[options] +include_package_data = true +packages = find: +python_requires = >=3.7 +install_requires = + Django>=3.2 \ No newline at end of file