Skip to content

Commit ab74bfd

Browse files
committed
Fix path directory of __init__.py
1 parent b7a5e84 commit ab74bfd

File tree

1 file changed

+2
-42
lines changed

1 file changed

+2
-42
lines changed

setup.py

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,15 @@
11
import os
22
import re
3-
import logging
43

54
from setuptools import setup
65

76
with open("README.md", encoding="utf-8") as f:
87
LONG_DESCRIPTION = f.read()
98

109

11-
with open(os.path.join('src', '__init__.py'), 'r') as f:
10+
with open(os.path.join('src', 'sqlalchemyseed', '__init__.py'), 'r') as f:
1211
pattern = r"^__version__ = ['\"]([^'\"]*)['\"]"
1312
VERSION = re.search(pattern, f.read(), re.MULTILINE).group(1)
1413

1514

16-
# packages = ['src']
17-
18-
# install_requires = [
19-
# 'SQLAlchemy>=1.4',
20-
# ]
21-
22-
# extras_require = {
23-
# 'yaml': ['PyYAML>=5.4']
24-
# }
25-
26-
27-
setup(
28-
# name='sqlalchemyseed',
29-
version=VERSION,
30-
# description='SQLAlchemy seeder.',
31-
# long_description=LONG_DESCRIPTION,
32-
# long_description_content_type='text/markdown',
33-
# url='https://github.com/jedymatt/sqlalchemyseed',
34-
# author='jedymatt',
35-
# author_email='jedymatt@gmail.com',
36-
# license='MIT',
37-
# packages=packages,
38-
# package_data={'sqlalchemyseed': ['res/*']},
39-
# install_requires=install_requires,
40-
# extras_require=extras_require,
41-
# python_requires='>=3.6',
42-
# project_urls={
43-
# 'Source': 'https://github.com/jedymatt/sqlalchemyseed',
44-
# 'Tracker': 'https://github.com/jedymatt/sqlalchemyseed/issues',
45-
# },
46-
# classifiers=[
47-
# 'License :: OSI Approved :: MIT License',
48-
49-
# 'Programming Language :: Python :: 3.6',
50-
# 'Programming Language :: Python :: 3.7',
51-
# 'Programming Language :: Python :: 3.8',
52-
# 'Programming Language :: Python :: 3.9',
53-
# ],
54-
# keywords='sqlalchemy, seed, seeder, json, yaml',
55-
)
15+
setup(version=VERSION,)

0 commit comments

Comments
 (0)