-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (36 loc) · 1.42 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
from setuptools import setup
import os
thelibFolder = os.path.dirname(os.path.realpath(__file__))
requirementPath = thelibFolder + '/requirements.txt'
install_requires = []
if os.path.isfile(requirementPath):
with open(requirementPath) as f:
install_requires = f.read().splitlines()
with open("README.md", 'r') as f:
long_description = f.read()
setup(name='sickbotsocial',
version='0.1',
description='Jessica Jurassica Bot',
long_description=long_description,
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Text Processing :: Linguistic',
],
keywords='textgeneration jessicajurassica dieyungenhurendothiv markov',
url='https://github.com/daifdaifdaif/sickbotsocial',
author='DAIF',
author_email='daif@dieyungenhuren.hiv',
license='MIT',
packages = ['sickbotsocial'],
install_requires=install_requires,
include_package_data=True,
zip_safe=False)
old_name = os.path.join(thelibFolder, "sickbotsocial/config-example.py")
new_name = os.path.join(thelibFolder, "sickbotsocial/config.py")
os.rename(old_name, new_name)
printed_path = os.path.join(thelibFolder, "printed.txt")
printed_imgs_path = os.path.join(thelibFolder, "insta-pics/printed_imgs.txt")
open(printed_path, 'a').close()
open(printed_imgs_path, 'a').close()