Compare commits

...

8 Commits

5 changed files with 45 additions and 2 deletions

31
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,31 @@
test:smolensk15:
image: smolensk15-dev
only:
- schedules
before_script:
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
- apt-get update
- apt-get -y install python3-pytest python3-sphinx python3-setuptools
- git submodule sync
- git submodule update --recursive --init
script:
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
- make build
- make tests
test:bionic:
image: bionic-dev
only:
- schedules
before_script:
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
- apt-get update
- apt-get -y install python3-pytest python3-sphinx python3-setuptools
- git submodule sync
- git submodule update --recursive --init
script:
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
- make build
- make tests
- make html

7
LICENSE Normal file
View File

@@ -0,0 +1,7 @@
Public domain
All of the code and documentation has been dedicated to the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute
the original code, either in source code form or as a compiled binary,
for any purpose, commercial or non-commercial, and by any means.

1
MANIFEST.in Normal file
View File

@@ -0,0 +1 @@
include LICENSE

View File

@@ -1,4 +1,4 @@
all:
build:
python3 setup.py build
clean:

View File

@@ -2,14 +2,18 @@
from setuptools import setup, find_packages
with open('README.rst') as f:
with open('README.rst', encoding='utf-8') as f:
readme = f.read()
with open('LICENSE', encoding='utf-8') as f:
license = f.read()
setup(
name='py3x',
version='0.1.2',
description='Sample package for Python3',
long_description=readme,
license=license,
author='Andrei Astafev',
author_email='dev@246060.ru',
url='https://dsp.246060.ru',