Skip to content

Commit b39305b

Browse files
author
Nick MacCarthy
committed
feat: move pypi setup from setup.py to setup.cfg, cleanup
1 parent 8ae9eca commit b39305b

File tree

2 files changed

+10
-42
lines changed

2 files changed

+10
-42
lines changed

setup.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ long_description = file: README.md
55
long_description_content_type = text/markdown
66
author = Nick MacCarthy
77
author_email = nickmaccarthy@gmail.com
8+
license = Apache-2.0
9+
classifiers =
10+
Development Status :: 5 - Production/Stable
11+
Intended Audience :: Developers
12+
Topic :: Software Development :: Build Tools
13+
License :: Apache-2.0
14+
Programming Language :: Python :: 3.8
15+
Programming Language :: Python :: 3.9
16+
Programming Language :: Python :: 3.10
17+
Programming Language :: Python :: 3.11
818

919

1020
[bdist_wheel]

setup.py

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -28,59 +28,17 @@
2828
version=version,
2929
download_url = 'https://github.com/nickmaccarthy/python-datemath/tarball/{0}'.format(version),
3030

31-
description='A python module to emulate the date math used in SOLR and Elasticsearch',
32-
33-
long_description_content_type="text/markdown",
34-
long_description=long_description_from_readme,
35-
36-
3731
# The project's main homepage.
3832
url='https://github.com/nickmaccarthy/python-datemath',
3933

4034

41-
# Author details
42-
author='Nick MacCarthy',
43-
author_email='nickmaccarthy@gmail.com',
44-
45-
# Choose your license
46-
license='Apache-2.0',
47-
48-
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
49-
classifiers=[
50-
# How mature is this project? Common values are
51-
# 3 - Alpha
52-
# 4 - Beta
53-
# 5 - Production/Stable
54-
'Development Status :: 5 - Production/Stable',
55-
56-
# Indicate who your project is intended for
57-
'Intended Audience :: Developers',
58-
'Topic :: Software Development :: Build Tools',
59-
60-
# Pick your license as you wish (should match "license" above)
61-
'Apache-2.0',
62-
63-
# Specify the Python versions you support here. In particular, ensure
64-
# that you indicate whether you support Python 2, Python 3 or both.
65-
'Programming Language :: Python :: 3.8',
66-
'Programming Language :: Python :: 3.9',
67-
'Programming Language :: Python :: 3.10',
68-
'Programming Language :: Python :: 3.11',
69-
],
70-
71-
# What does your project relate to?
72-
keywords='date math datemath elaticsearch solr',
73-
7435
# You can just specify the packages manually here if your project is
7536
# simple. Or you can use find_packages().
7637
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
7738

7839
package_data={'': ['*']},
7940
include_package_data=True,
8041

81-
# Alternatively, if you want to distribute just a my_module.py, uncomment
82-
# this:
83-
# py_modules=["my_module"],
8442

8543
# List run-time dependencies here. These will be installed by pip when
8644
# your project is installed. For an analysis of "install_requires" vs pip's

0 commit comments

Comments
 (0)