Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dicklesworthstone committed Nov 5, 2023
1 parent c62c2aa commit a2f1537
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
import os
from setuptools import setup
from pathlib import Path

# Define the directory where this setup.py file is located
here = os.path.abspath(os.path.dirname(__file__))
here = Path(__file__).parent

# Read the contents of README file
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
long_description = (here / 'README.md').read_text(encoding='utf-8')

# Read the contents of requirements file
with open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as f:
requirements = f.read().splitlines()
requirements = (here / 'requirements.txt').read_text(encoding='utf-8').splitlines()

setup(
name='sqlalchemy_data_model_visualizer',
version='0.1.0', # Update the version number as needed
version='0.1.0', # Update the version number for new releases
description='A tool to visualize SQLAlchemy data models with Graphviz.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Jeffrey Emanuel',
author_email='jeff@pastel.network',
url='https://github.com/Dicklesworthstone/sqlalchemy_data_model_visualizer',
py_modules=['sqlalchemy_data_model_visualizer'], # Single file module
url='https://github.com/Dicklesworthstone/sqlalchemy_data_model_visualizer',
py_modules=['sqlalchemy_data_model_visualizer'],
install_requires=requirements,
classifiers=[
'Development Status :: 3 - Alpha',
Expand All @@ -35,5 +33,5 @@
],
license='MIT',
keywords='sqlalchemy visualization graphviz data-model',
include_package_data=True,
include_package_data=True, # This tells setuptools to check MANIFEST.in for additional files
)

0 comments on commit a2f1537

Please sign in to comment.