|
1 | 1 | from setuptools import setup, find_packages
|
2 |
| -from mindsdb_sdk import __about__ as C |
| 2 | + |
| 3 | +about = {} |
| 4 | +with open("mindsdb_sdk/__about__.py") as fp: |
| 5 | + exec(fp.read(), about) |
3 | 6 |
|
4 | 7 | with open("README.md", "r") as fh:
|
5 | 8 | long_description = fh.read()
|
|
8 | 11 | requirements = req_file.read().splitlines()
|
9 | 12 |
|
10 | 13 | setup(
|
11 |
| - name=C.__title__, |
12 |
| - version=C.__version__, |
13 |
| - url=C.__github__, |
14 |
| - download_url=C.__pypi__, |
15 |
| - license=C.__license__, |
16 |
| - author=C.__author__, |
17 |
| - author_email=C.__email__, |
18 |
| - description=C.__description__, |
| 14 | + name=about['__title__'], |
| 15 | + version=about['__version__'], |
| 16 | + url=about['__github__'], |
| 17 | + download_url=about['__pypi__'], |
| 18 | + license=about['__license__'], |
| 19 | + author=about['__author__'], |
| 20 | + author_email=about['__email__'], |
| 21 | + description=about['__description__'], |
19 | 22 | long_description=long_description,
|
20 | 23 | long_description_content_type="text/markdown",
|
21 |
| - packages=find_packages(exclude=('tests*', 'testing*')), |
| 24 | + packages=find_packages(exclude=('tests*',)), |
22 | 25 | install_requires=requirements,
|
23 | 26 | extras_require={
|
24 | 27 | 'dev': [
|
|
0 commit comments