-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (35 loc) · 1.35 KB
/
Copy pathsetup.py
File metadata and controls
48 lines (35 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from distutils.text_file import TextFile
from io import open
from os import path
from pathlib import Path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file.
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def parse_requirements(filename: str):
"""Return requirements from requirements file."""
# Ref: https://stackoverflow.com/a/42033122/
return TextFile(filename=str(Path(__file__).with_name(filename))).readlines()
setup(
name='Dispono',
version='0.1.0',
url='https://github.com/Viatorus/seejeepee',
license='MIT',
author='Toni Neubert',
author_email='lutztonineubert@gmail.com',
description='Dispono is a synchronization program between your browser IDE and your local machine.',
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(exclude=('tests',)),
include_package_data=True,
install_requires=parse_requirements('requirements.txt'),
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6'
],
)