-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·34 lines (28 loc) · 946 Bytes
/
setup.py
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
from setuptools import setup, find_packages # type: ignore
from src.helper.core import core_dir_get_version
import os
current_dir = os.path.dirname(__file__) + '/'
def read(file_name: str) -> str:
return open(os.path.join(os.path.dirname(current_dir), file_name)).read()
with open('requirements.in') as f:
requirements = f.read().splitlines()
setup(
name='wex',
version=core_dir_get_version(current_dir),
description='A command manager',
long_description=read('README.md'),
long_description_content_type='text/markdown',
author='Wexample',
author_email='contact@wexample.com',
url='https://github.com/wexample/wex',
packages=find_packages(),
install_requires=requirements,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
scripts=[
'cli/wex-wrapper',
],
)