Skip to content

Commit

Permalink
Create setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RhinosF1 authored Jan 19, 2024
1 parent 323b418 commit 195a0c2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
"""Controls the setup of the package by setuptools/pip."""
from setuptools import find_packages, setup

from miraheze.version import VERSION

with open('README.md') as readme_file:
readme = readme_file.read()

#with open('CHANGELOG.md') as history_file:
#history = history_file.read()
with open('requirements.txt') as requirements_file:
requirements = list(requirements_file.readlines())

#with open('dev-requirements.txt') as dev_requirements_file:
#dev_requirements = list(dev_requirements_file.readlines())


setup(
name='Miraheze_PyUtils',
version=VERSION,
description='Python Utilities for Miraheze',
long_description=readme #+ '\n\n' + history,
long_description_content_type='text/markdown', # This is important!
author='RhinosF1',
author_email='[email protected]',
url='https://github.com/FOSSBots/MirahezeBots',
packages=find_packages('.'),
include_package_data=True,
install_requires=requirements,
#tests_require=dev_requirements,
test_suite='tests',
license='GPL3',
)

0 comments on commit 195a0c2

Please sign in to comment.