rascunho

ref: 0.0.1

./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
#!/usr/bin/env python3
from setuptools import setup
import subprocess
import os

ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
      stdout=subprocess.PIPE).stdout.decode().strip()

setup(
  name = 'rascunho',
  packages = [
      'rascunho',
      'rascunho.types',
      'rascunho.blueprints',
  ],
  version = ver,
  description = 'rascunho markdown preview service',
  author = 'Pedro Lucas Porcellis',
  author_email = 'porcellis@eletrotupi.com',
  url = 'https://git.sr.ht/~porcellis/rascunho',
  license = 'AGPL-3.0',
  install_requires=[
      'flask',
      'sqlalchemy',
      'humanize',
      'psycopg2',
      'mistune',
      'pytz'
  ],
  package_data={
      'rascunho': [
          'templates/*.html',
          'static/*',
      ]
  },
)