mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
40 lines
1.1 KiB
Python
40 lines
1.1 KiB
Python
import os
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
VERSION = '0.0.1'
|
|
|
|
install_requires = [
|
|
]
|
|
|
|
here = os.path.dirname(os.path.abspath(__file__))
|
|
# get documentation from the README and HISTORY
|
|
try:
|
|
with open(os.path.join(here, 'README.rst')) as doc:
|
|
readme = doc.read()
|
|
except:
|
|
readme = ''
|
|
|
|
try:
|
|
with open(os.path.join(here, 'HISTORY.rst')) as doc:
|
|
history = doc.read()
|
|
except:
|
|
history = ''
|
|
|
|
long_description = readme + '\n\n' + history
|
|
|
|
if __name__ == '__main__':
|
|
setup(
|
|
name='servo_tidy',
|
|
version=VERSION,
|
|
description='The servo-tidy is used to check licenses, line lengths, whitespace, flake8 on Python files, lock file versions, and more.',
|
|
long_description=long_description,
|
|
keywords='mozilla servo tidy ',
|
|
author='The Servo Project Developers',
|
|
author_email='dev-servo@lists.mozilla.org',
|
|
url='https://github.com/servo/servo',
|
|
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
|
|
package_data={},
|
|
install_requires=install_requires,
|
|
zip_safe=False,
|
|
)
|