Skip to content

Commit d884275

Browse files
committed
Added required files for pypi
1 parent 2ccba0a commit d884275

3 files changed

Lines changed: 41 additions & 0 deletions

File tree

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
python-dateutil~=2.8.1
2+
pytz~=2020.1
3+
typing~=3.7.4.3

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[metadata]
2+
description-file = README.md

setup.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
from distutils.core import setup
2+
3+
# for the readme
4+
from pathlib import Path
5+
this_directory = Path(__file__).parent
6+
long_description = (this_directory / "README.md").read_text(encoding="utf-8")
7+
8+
setup(
9+
name='python-datetimeparser',
10+
long_description_content_type="text/markdown",
11+
long_description=long_description,
12+
packages=['datetimeparser'],
13+
version='0.1a',
14+
license='MIT',
15+
description='A parser library built for parsing the english language into datetime objects.',
16+
author='Ari24',
17+
author_email='ari.publicmail@gmail.com',
18+
url='https://github.com/aridevelopment-de/datetimeparser',
19+
download_url='https://github.com/aridevelopment-de/datetimeparser/archive/v0.1-beta.tar.gz',
20+
keywords=['datetime', 'parser', 'parsing', 'grammar', 'datetime-parser'],
21+
install_requires=[
22+
'python-dateutil',
23+
'pytz',
24+
'typing'
25+
],
26+
classifiers=[
27+
'Development Status :: 4 - Beta', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
28+
'Intended Audience :: Developers', # Define that your audience are developers
29+
'Topic :: Software Development :: Build Tools',
30+
'License :: OSI Approved :: MIT License', # Again, pick a license
31+
'Programming Language :: Python :: 3.7', #Specify which pyhton versions that you want to support
32+
'Programming Language :: Python :: 3.8',
33+
'Programming Language :: Python :: 3.9',
34+
'Programming Language :: Python :: 3.10'
35+
],
36+
)

0 commit comments

Comments
 (0)