Skip to content

Commit 595a822

Browse files
authored
minor-fixes (#40)
1 parent ef0e897 commit 595a822

File tree

6 files changed

+49
-58
lines changed

6 files changed

+49
-58
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Build package
3535
if: steps.version_check.outputs.version_exists != 'true'
3636
run: |
37-
python -m build
37+
python3 setup.py sdist bdist_wheel
3838
3939
- name: Upload to PyPI
4040
if: steps.version_check.outputs.version_exists != 'true'

MANIFEST.in

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
include LICENSE
33
include README.md
44
include requirements.txt
5-
include setup.cfg
65
include setup.py
76
include pyproject.toml
87
include MANIFEST.in
@@ -38,8 +37,12 @@ recursive-include appointment/utils *.py
3837
# Exclusions
3938
exclude appointment/__pycache__
4039
exclude appointment/migrations/__pycache__
40+
exclude appointment/django_appointment.egg-info/PKG-INFO
41+
exclude appointment/django_appointment.egg-info/SOURCES.txt
42+
exclude appointment/django_appointment.egg-info/dependency_links.txt
43+
exclude appointment/django_appointment.egg-info/requires.txt
44+
exclude appointment/django_appointment.egg-info/top_level.txt
4145

4246
# Recursive exclusions
43-
recursive-exclude appointment/migrations *.py
44-
recursive-exclude appointments *.py
45-
recursive-exclude appointment *.pyc
47+
recursive-exclude appointment/migrations *
48+
recursive-exclude appointments *

appointment/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
__description__ = "Managing appointment scheduling with customizable slots, staff features, and conflict handling."
55
__package_name__ = "django-appointment"
66
__url__ = "https://github.com/adamspd/django-appointment"
7-
__version__ = "2.1.4"
7+
__version__ = "2.1.5.dev1"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ['setuptools>=61.0', 'wheel']
3-
build-backend = 'setuptools.build_meta:__legacy__'
2+
requires = ["setuptools >= 61.0"]
3+
build-backend = "setuptools.build_meta"

setup.cfg

Lines changed: 0 additions & 27 deletions
This file was deleted.

setup.py

Lines changed: 38 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,42 @@
2121
packages=setuptools.find_packages(where="appointments"),
2222
package_dir={"": "appointment"},
2323
include_package_data=True,
24-
package_data={
25-
'appointment': [
26-
'static/css/**/*.css',
27-
'static/js/**/*.js',
28-
'static/img/**/*.*',
29-
'templates/**/*.html',
30-
],
31-
'appointment.tests': [
32-
'mixins/*',
33-
'base/*',
34-
'models/*',
35-
'utils/*',
36-
'*.py'
37-
],
38-
},
39-
exclude_package_data={
40-
"appointment": [
41-
"django_appointment.egg-info"
42-
],
43-
"appointment.django_appointment": [
44-
"egg-info",
45-
]
46-
},
24+
classifiers=[
25+
# Maturity of project
26+
# 3 - Alpha
27+
# 4 - Beta
28+
# 5 - Production/Stable
29+
'Development Status :: 3 - Alpha',
30+
31+
# Intended for
32+
'Intended Audience :: Developers',
33+
34+
# License
35+
"License :: OSI Approved :: Apache Software License",
36+
37+
# Python versions supported.
38+
"Programming Language :: Python",
39+
"Programming Language :: Python :: 3",
40+
"Programming Language :: Python :: 3 :: Only",
41+
"Programming Language :: Python :: 3.10",
42+
"Programming Language :: Python :: 3.11",
43+
44+
# OS
45+
"Operating System :: OS Independent",
46+
47+
# Topic
48+
"Topic :: Internet :: WWW/HTTP",
49+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
50+
"Topic :: Software Development :: Libraries :: Application Frameworks",
51+
],
52+
license="Apache License 2.0",
53+
python_requires='>=3.8',
54+
install_requires=[
55+
"Django>=4.2",
56+
"Pillow>=10.1.0",
57+
"phonenumbers>=8.13.22",
58+
"django-phonenumber-field>=7.2.0",
59+
"babel>=2.13.0",
60+
"pytz>=2023.3",
61+
]
4762
)

0 commit comments

Comments
 (0)