-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
46 lines (39 loc) · 1.32 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
import sys
from pathlib import Path
__dir__ = Path(__file__).absolute().parent
# Remove current dir from sys.path, otherwise setuptools will peek up our
# module instead of system's.
sys.path.pop(0)
from setuptools import setup
sys.path.append("..")
import sdist_upip
exec(open('mcron/version.py').read())
def read(file_relative):
file = __dir__ / file_relative
with open(str(file)) as f:
return f.read()
setup(
name='micropython-mcron',
version=__version__,
description='MicroCRON for MicroPython.',
long_description=read('README.rst'),
long_description_content_type="text/x-rst",
url='https://github.com/fizista/micropython-mcron',
author='Wojciech Banaś',
author_email='fizista@gmail.com',
maintainer='Wojciech Banaś',
maintainer_email='fizista+mcron@gmail.com',
license='AGPL3',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: Implementation :: MicroPython',
],
keywords='cron scheduler micropython',
cmdclass={'sdist': sdist_upip.sdist},
packages=['mcron'],
project_urls={
'Bug Reports': 'https://github.com/fizista/micropython-mcron/issues',
'Documentation': 'https://fizista.github.io/micropython-mcron/',
'Source': 'https://github.com/fizista/micropython-mcron',
},
)