Skip to content

Commit ed5940f

Browse files
authored
Merge pull request #8 from jedymatt/v0.4.x
Bump version to 0.4.2
2 parents 074e22a + 0f1ec4b commit ed5940f

File tree

3 files changed

+26
-18
lines changed

3 files changed

+26
-18
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sqlalchemy>=1.4.0
2-
pyyaml>=5.4.0
1+
sqlalchemy>=1.4
2+
pyyaml>=5.4

setup.py

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,53 @@
11
import re
22

3-
from readme_renderer import markdown
43
from setuptools import setup
54

6-
with open("README.md", "r", encoding="utf-8") as fh:
7-
LONG_DESCRIPTION = fh.read()
5+
with open("README.md", encoding="utf-8") as f:
6+
LONG_DESCRIPTION = f.read()
7+
88

9-
# VERSION = ''
109
with open('sqlalchemyseed/__init__.py', 'r') as f:
1110
pattern = r"^__version__ = ['\"]([^'\"]*)['\"]"
1211
VERSION = re.search(pattern, f.read(), re.MULTILINE).group(1)
1312

1413

14+
packages = ['sqlalchemyseed']
15+
16+
install_requires = [
17+
'SQLAlchemy>=1.4',
18+
]
19+
1520
extras_require = {
16-
'yaml': ['PyYAML>=5.4.0']
21+
'yaml': ['PyYAML>=5.4']
1722
}
1823

1924

2025
setup(
2126
name='sqlalchemyseed',
22-
author='jedymatt',
23-
url='https://github.com/jedymatt/sqlalchemyseed',
24-
long_description=markdown.render(LONG_DESCRIPTION),
25-
long_description_content_type='text/markdown',
26-
description='SQLAlchemy seeder.',
2727
version=VERSION,
28+
description='SQLAlchemy seeder.',
29+
long_description=LONG_DESCRIPTION,
30+
long_description_content_type='text/markdown',
31+
url='https://github.com/jedymatt/sqlalchemyseed',
32+
author='jedymatt',
33+
author_email='jedymatt@gmail.com',
2834
license='MIT',
29-
packages=['sqlalchemyseed'],
35+
packages=packages,
3036
# package_data={'sqlalchemyseed': ['res/*']},
31-
install_requires=['SQLAlchemy>=1.4.0'],
37+
install_requires=install_requires,
3238
extras_require=extras_require,
33-
python_requires='>=3.6.0',
34-
keywords='sqlalchemy seed seeder json yaml',
39+
python_requires='>=3.6',
3540
project_urls={
3641
'Source': 'https://github.com/jedymatt/sqlalchemyseed',
3742
'Tracker': 'https://github.com/jedymatt/sqlalchemyseed/issues',
3843
},
3944
classifiers=[
45+
'License :: OSI Approved :: MIT License',
46+
4047
'Programming Language :: Python :: 3.6',
4148
'Programming Language :: Python :: 3.7',
4249
'Programming Language :: Python :: 3.8',
4350
'Programming Language :: Python :: 3.9',
44-
]
51+
],
52+
keywords='sqlalchemy, seed, seeder, json, yaml',
4553
)

sqlalchemyseed/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from .loader import load_entities_from_json
55
from .loader import load_entities_from_yaml
66

7-
__version__ = '0.4.2.dev1'
7+
__version__ = '0.4.2'
88

99

1010
if __name__ == '__main__':

0 commit comments

Comments
 (0)